Some things you need :
- Laravel project
- VPS / Virtual Private Server
- Domain (if any)
- Put your Laravel project into source code management (github/gitlab/others)
Here I will use my company-management reporsitory.
Some things you need :
You can add all conventional comments Labels to Github as a saved replies by following the following steps:
- Go to https://github.com/settings/replies
- Open Developer Tools
- Copy/Paste above code in JavaScript console
- Press enter
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |