Created
March 4, 2018 16:25
-
-
Save JacerOmri/a07c2e7b81402d2542ad621c08ce126d to your computer and use it in GitHub Desktop.
Build your carrer git node docker session
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prequeties: | |
- Nodejs | |
- Git | |
- Docker | |
Windows: https://store.docker.com/editions/community/docker-ce-desktop-windows | |
Ubuntu: | |
curl -fsSL get.docker.com -o get-docker.sh | |
sh get-docker.sh | |
http://yeoman.io/ | |
https://github.com/ndelvalle/generator-api | |
npm install -g generator-api yo | |
yo api | |
## APP files created | |
# https://hub.docker.com/_/mongo/ | |
docker run --name api-mongo -p 27017::27017 -d mongo | |
npm start dev | |
# http://localhost:8080/user | |
# https://github.com/JacerOmri/buildyc-api | |
# https://www.getpostman.com/ | |
git init | |
git add . --all | |
git commit -m "initial commit" | |
git remote add origin githubUrl | |
git checkout -b feature/likes | |
# work work work | |
git checkout master | |
git merge feature/likes | |
git push origin master | |
docker-compose build | |
docker-compose up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment