Created
January 13, 2019 06:36
-
-
Save vaibhav93/33b760961547fa5074847007101b8ea5 to your computer and use it in GitHub Desktop.
Running freaco
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Clone code from repo https://github.com/vaibhav93/freaco | |
2. Install docker for windows/mac/linux | |
3. Create AWS account (if you need push notification on phone app. | |
If you dont want push notification, skip step 3 & 4. Backend can run without this too) | |
4. Use "accessKeyId" and "secretAccessKey" for this AWS account ( to update the file "server/boot/awsconfig.json". | |
You can google how to get accessKey and secretAccessKey from aws console | |
5. Inside the cloned repository, run "docker build -t vaibhavbansal1993/freaco ." ### Without inverted commas | |
6. After the image is build, to run the app use command "docker-compose up" in the same directory | |
7. If you make any changes to code, stop the app using Ctrl+c in the terminal where "docker-compose up" is running. | |
Then repeat step 5 and 6 to rebuild and re-run. | |
8. Access panel using "http://localhost:3002/admin/" | |
9. Login username "vendor@abc.com" password: "vendor" | |
10. Explore APIs: "http://localhost:3002/explorer/" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment