- First run
make newdevto start up the project for first time. - go to http://localhost:5001/admin
- username:admin76, password:admin76 Checkout the commands section for more usage.
1.run make bud(this builds the docker project) 2.run make dr
Alternatively: run make newdev
A default Django project resides in root directory. So, when you start the project, you will see the following screen in 5001 port:
http://localhost:5001/
To use this project, run this commands:
make newdevto build the project and use the backup dump_data.sql in the root foldermake bto build the project and starting containers.make budto build the project.(build and up in detached mode)make uto start containers if project has been up already.make dto stop containers.make dvto stop containers and remove volumes.make swebto shell access web container.make csuto put static files in static directory.make nrwto run npm run watch.make nrpto run npm run production.make lwto log access web container.make ldto log access db container.make rsto restart web and db container.make ddto dumb db container as dump_data.sql in the root directory.make drto restore db container data from dump_data.sql file in the root directory.make udevto start container in development mode (when container seem to be slow, this will help run little faster).