Lesson 8 - Development Workflow
LEARN & BUILD
Application Launch
- Browser
- Visual Studio Code
Short-cuts
- Sensei
- Github repo
- Web app
- Python Anywhere config
- Python Anywhere console
Development Workflow
- Pull code
- Make changes
- Test changes
- Push changes
- Deploy
Pull code
Before you start working
$ git pull
Make changes
- Work in small steps
- One feature at a time
- Test and fix
- Commit frequently (10-20 minutes)
Test changes
- Change code and refresh browser
- Editor, Terminal, Browser all visible
Commit changes
Commit and push each hour
$ git add .
$ git commit -m "Did some things"
$ git push
Deploy
Do not change files on server
Single command deploy
$ git pull
Restart the server