- First run
make newdev
to 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 newdev
to build the project and use the backup dump_data.sql in the root foldermake b
to build the project and starting containers.make bud
to build the project.(build and up in detached mode)make u
to start containers if project has been up already.make d
to stop containers.make dv
to stop containers and remove volumes.make sweb
to shell access web container.make csu
to put static files in static directory.make nrw
to run npm run watch.make nrp
to run npm run production.make lw
to log access web container.make ld
to log access db container.make rs
to restart web and db container.make dd
to dumb db container as dump_data.sql in the root directory.make dr
to restore db container data from dump_data.sql file in the root directory.make udev
to start container in development mode (when container seem to be slow, this will help run little faster).