Run the following in terminal
npm install
next simply run
npm run start
This will compile the project and start it on your local machine.
When developing with Parse Server you must
- run mongodb locally
- Remember your changes to the schema aren't synchronized across databases and any changes made with the dashboard must also be done or transferred over to production
New Parse SDK Instructions for migration
Simply press the purple button which will deploy from this repo a copy of the server running on Heroku
Note you must have a credit card on file with your own Heroku account in order to fully deploy this server. The current configuration will not charge you however MongoDB Lab is used.
Ensure you have all your environment variables configured properly. Note not all environment variables are readily available in the docker compose file. Some of them are disabled in code by default due to the requirements of the environment variable. See code index.js
for examples of which variables are disabled.
These are disabled by design and on purpose. To enable, uncomment the relevant code in index.js
and add the environment
variables to your docker-compose.yml
file.
Simply run docker-compose up
in your terminal. Ensure your docker app is also running.
You may also run in detached mode by typing docker-compose up -d
.
This will create two services: web
and mongo
.
run docker-compose down
to bring both web
and mongo
down.