npm install
- Latest Version of PostgreSQL
- Node.JS v14.13.1 or later
- A machine to host on
- Nginx
- Write access to /etc/nginx/
- Write access to /var/
The .env file stores the spooky scary sensitive data that you don't want people to see. The layout for the .env file is shown below
SERVERIP={{database server ip}}
SERVERUSERNAME={{database username}}
SERVERPASSWORD={{database user password}}
SERVERDB={{the database to store the data in}}
Run the project in your debugger of choice, or start node with an inspection port open.
- Clone this repository.
- Run
npm install
and allow npm to install all packages. - Run
npm run build
and allow vue to build and compile the project to thedist/
folder. - Run setup.sh in the root directory of the project to install and symlink everything in one command.
- Setup database, create user and database specifically for cumulonimbus.
- Start preview and API servers using
pm2 . --name api -i 2
andpm2 ./thumbnailServer.js --name thumbnail -i 6
There is a already a fully working version of this service running here at alekeagle.me if you want to check it out.