Developed by UC Davis students for ECS 193: Senior Design Project. See the Google For Education Case Study here.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. For more detailed instructions, see 193TeesUserGuide.pdf
You will need the latest version of the MEAN stack and Google CLI
To install, you will need to clone the latest copy of the repo, install node dependences, and set up developer accounts with the external API's.
git clone https://github.com/CTaCDE/bitcommerce.git
npm install
You will need to make an account at mLab and create a keys.json file with the following fields:
{
"mongoHost": "<dsname>.mlab.com",
"mongoPort": "<port>",
"mongoDatabase": "<databaseName>",
"mongoUser": "<mlabusername>",
"mongoPass": "<mlabpassword>"
}
Be 110% certain this file is in the .gitignore!! This file grants authorization to read and modify your database!!
See the following links to setup developer accounts: Google App Engine Facebook Paypal
To deploy, pull the latest changes from master and deploy to app engine. The --stop-previous-version
flag ensures that only the latest instance will run to reduce compute hours charged.
git pull origin master
gcloud app deploy --stop-previous-version
- Google Cloud Platform - Hosting the NodeJS runtime environment
- mLab - Database management and hosting
- Amazon Web Services - Hosting the uptime prober
- MEAN Stack - Used to develop server/model/views
We use Github Tags for versioning. For the versions available, see the tags on this repository.
- Travis Heppe (Client & Software Engineer @ Google)
- Xin Liu (Professor for ECS 193A/B)
- Albara Ramli (TA for ECS 193A/B)