Udagram is a simple cloud application developed alongside the Udacity Cloud Engineering Nanodegree. It allows users to register and log into a web client, post photos to the feed, and process photos using an image filtering microservice.
- Initialize a new project:
npm i
- run the development server with
npm run dev
- Build the project and compress into a .zip
npm run dev
- setup your aws profile
- setup the environment variables for your aws profile
- install eb-cli
- after installing the eb-cli run in our terminal eb-create to configure the elasticbeanstalk.
- since the projects builds a zip file to be deployd, we must add the following code into .elasticbeanstalk/config.yml
deploy:
artifact: ./www/Archive.zip
eb will look for this file to deploy. 6. Deploy your change running: eb deploy --stage