8000 GitHub - aswin-jacob-thomas/SmartCity
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aswin-jacob-thomas/SmartCity

Repository files navigation

SmartCity - Houston HeatMap using Cesium with Webpack

  • Using webpack dev server for development deployment
  • Using Docker for containerization
  • Using aws for deployment

Running the application locally

npm install
npm start

Navigate to localhost:8080.

Available scripts for running webpack

  • npm start - Runs a webpack build with webpack.config.js and starts a development server
  • npm run build - Runs a webpack build with webpack.config.js
  • npm run release - Runs an optimized webpack build with webpack.release.config.js
  • npm run serve-release - Runs an optimized webpack build with webpack.release.config.js and starts a development server

Docker commands for dockerizing a Node.js web app

docker build -t smartcity .
docker run -p 8081:8080 -d smart city
docker ps
docker logs <container id>
docker exec -it <container id> /bin/bash
docker inspect <container id>
docker rm <container id>
docker rmi <image id>

AWS Commands to create a new environment and application

  • Create AWS and EB cli and add them to the environment path
  • Create a new eb-deploy-user with group security profile of AWSElasticBeanStalkFullAccess
  • aws configure --profile eb-deploy-user
  • eb init --profile eb-deploy-user
  • eb create
  • eb deploy - Always push the latest code to git before eb deploy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0