You'll need to have the following running on your local machine
For Node we'd suggest install NVM. If you're using Windows then please use NVM-Windows
Please note We will always use the long term release supported version of Node. Currently this is 12.
You'll need to have the following global packages installed
npm install -g pm2
Please note We use Amazon S3 to store files. To enable this functionality you must setup AWS S3.
You will now need to setup your environmental variables.
Firstly you'll need to adjust the linux.yml
file and add your database username and password.
Copy the env.sample
file to two new files:
- .env
- .env.development
And then configure the variables.
Here's an example config
# FRONTEND
NODE_ENV=development
GRAPHQL_API_URL=http://localhost:3000/api/
STRIPE_API_KEY=testing
SKELM_BASE_URL=http://localhost:3000
If you are on Linux or MacOS you can simply run the following command
bash ./run.sh
We are currently working on getting a Powershell script working.