- UserID (Primary Key)
- UserName
- Password
- RoleID (Foreign Key to Roles table)
- FamilyMemberID (Nullable, Foreign Key to FamilyMembers table)
Dokcer most useful commands
remove commands
sudo docker system prune -f
docker volume rm $(docker volume ls -q) -f
docker network rm $(docker network ls -q) -f
This file contains hidden or 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
| Ctrl + Shift + A |
This file contains hidden or 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
| sudo docker build . | |
| sudo docker-compose up | |
| sudo docker-compose down | |
| sudo docker-compose -d --build | |
| sudo docker-compose exec web python manage.py migrate | |
| sudo docker exec web [cmd] | |
| FROM python:3.7-slim |
This file contains hidden or 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
| { | |
| //https://ourcodeworld.com/articles/read/505/how-to-disable-autocompletion-and-intellisense-in-microsoft-visual-studio-code | |
| // OPTIONAL WORD WRAPPING | |
| // Controls if lines should wrap. The lines will wrap at min(editor.wrappingColumn, viewportWidthInColumns). | |
| "editor.wordWrap": "off", | |
| // Controls the indentation of wrapped lines. Can be one of 'none', 'same' or 'indent'. | |
| "editor.wrappingIndent": "none", | |
| // TURN OFF AUTOCOMPLETION |
This file contains hidden or 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
| <div class="container"> | |
| <div class="card"> | |
| <div class="card-header"> | |
| Invoice | |
| <strong>01/01/01/2018</strong> | |
| <span class="float-right"> <strong>Status:</strong> Pending</span> | |
| </div> | |
| <div class="card-body"> | |
| <div class="row mb-4"> |
This file contains hidden or 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
| sudo lsof -t -i tcp:8000 | xargs kill -9 | |
| https://stackoverflow.com/questions/17780291/python-socket-error-errno-98-address-already-in-use |
NewerOlder