Boiler Books can be run on any OS, but it has been tested with Ubuntu 20.04 LTS.
- Clone the repository
- Install the required packages
- Use the given file to initialize the database, tables, and columns
- Copy the nginx reverse proxy file so all requests are redirected
- Install all NPM packages for the UI and API:
- Create a
.env
file for the API, with database and private variables - use.env.git
as an example: - Start the servers
git clone origin https://github.com/PurdueIEEE/boilerbooks.git
cd boilerbooks
apt install nginx mysql-server-8.0 nodejs postfix
mysql < config/ieee-money.sql
cp config/nginx-dev.conf /etc/nginx/sites-available/
ln -s /etc/nginx/sites-available/nginx-dev.conf /etc/nginx/sites-enabled/ieee-money-dev.conf
service nginx reload
npm --prefix ./api ci
npm --prefix ./ui ci
cp ./api/.env.git ./api/.env
cd api
npm run serve
cd ui
npm run serve
Now you should be ready to launch the program in a web browser! Navigate to http://localhost/ui/
to begin.
WIP