Production deployment and documentation for InspectorRestaurant.
This repository includes git submodules for the following repositories:
Each repository maintains its own README.md and deployment instructions - please consult each individual repository for development and deploy instructions.
- Run
sh update.sh
- this will pull the latest changes for each repository. Commit and merge the changes to this repository (ir_deploy).
These are the instructions to deploy the entire Inspector.Restaurant stack. We assume basic knowledge of server provisioning and dependency installation.
-
Provision a server (we use DigitalOcean) running Ubuntu at version
16.04
with the following: -
Run the deploy instructions in the following submodules (order-specific)
ir_data
ir_web_api
ir_web_client
-
Copy the client build to
/www
with the following commands:cp ~/ir_deploy/ir_web_client/dist/index.html /www/index.html
cp -R ~/ir_deploy/ir_web_client/dist/static /www/
-
Copy
inspector.restaurant.NGINX
to/etc/nginx/sites-enabled/inspector.restaurant
-
Run
sudo service restart nginx
This repository contains the following documents:
-
Project proposal (
docs/PROPSAL.md
)- Objectives
- Stretch Goals
- Server Architecture & Supporting Infrastructure
- Client Architecture & Supporting infrastructure
-
Mid-term & final presentations (
docs/*_presentation.pdf
)- Team Intro
- Methodology
- Problem Statement
- Solution
- Architecture
- Technology
- Roadmap
- Status & Progress
- Challenges
- Documentation
- Demo
- Next Steps
-
API documentation is available at inspector.restaurant/docs