delivery-system's Introduction
HOW TO RUN: 1. before initializing your terraform file go to line 15 and change the email to your own. (after running terrafrom file you will get a link to validate your email) 2. go to email_notification python folder and change emails in lines 23 and 24 to your emails as well. 3. Initiate the infrastructure by running 'terraform init' 4. Initilize the database by running the postman collections. Make sure to change the apigetway varible to the provisioned APIGetway's url. 5. Access the ec2 instance using SSH. Make sure you create a key with the name "cx-project.pem" attached to your account. download this key and place it in the folder. Then run the following commands there: "export AWS_ACCESS_KEY_ID=***************** export AWS_SECRET_ACCESS_KEY=******************** export AWS_REGION=us-east-1 my_ip=$(curl http://checkip.amazonaws.com) export my_ip sudo ./apigt" 6. Trigger the assign function by hitting the end point: ec2_public_ip/assign with this body: { "date": "year/month/day" } 7. Run the workload provided, or as instructed in the project report 8.before running the front end grab the new api gateway URL and paste it in the index.html file in the url1 variable at line: 262 paste youe own api gateway url at line 530 : change the IP to your vertual machine ip(EC2) 9.to run the front end we need to launch an instance of chrome that disables CORS protocall open run and type chrome.exe --user-data-dir="C://Chrome dev session" --disable-web-security on this version of chrome attatch the index.htm file to it using live server
delivery-system's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.