Amazon Cloud 9

Submitted by code_admin on Mon, 07/30/2018 - 13:29

(-p option hostport:containerport

  1. docker run --network testDev --name c9 -p 3000:3000 -p 3080-3100:8080-8100 -d ankitrgadiya/c9:latest

Process with new env for quasar apps

Setup git

  1. git config --global user.email "xxxx@googlemail.com"
  2. git config --global user.name "xxxx"

Set up SSH key and add it to git https://code2.metcarob.com/node/98

  1. chmod -R 400 ~/.ssh/id_rsa
  2. chmod -R 444 ~/.ssh/id_rsa.pub
  3.  
  4. apt-get update && apt-get -y upgrade
  5. apt-get install -y nodejs
  6. npm update
  7. npm install -g quasar-cli
  8.  
  9. ##Python requirments
  10. apt-get install ack
  11. apt-get install entr
  12. apt install python3-pip
  13. pip3 install nose
  14. pip3 install rednose
  15.  
  16. ##docker requirements so we can build containers
  17. curl -sSL https://get.docker.com | sh

clone the repo
run npm install in the webfrontend directory
run "pip3 install -r ./src/requirments.txt" in the app directory

test it with quasar dev

Tags

RJM Article Type
Quick Reference