Space Beaver
This project was generated with project-boilerplate
. Current template version is: d536dd51f939b75f32eb8bf2b3d4c9225dc6798b. See what is updated since then.
You will need:
$ make up
This command will build and start development docker stack. It will takes a while for the first time.
Other management command:
make stop
- stop docker development containers stack and free binded portsmake rebuild
- stop and rebuilds docker development containers stack
Enter project directory run make up
if stack was stopped before, otherwise just run
$ make shell app
this command will bring you to application container shell, to exit enter exit
Other management command:
make shell data
- open stack database container shellmake shell cache
- open stack cache container shellmake shell broker
- open stack broker container shell
To start django development server enter application container with make shell app
,
make sure everything setup correctly with make test
, and use default django commands to manage django application.
Some shortcuts also available as make proxy commands $ cat Makefile
will print them.
React application located under private
directory, so after entering application shell enter private
directory
and run npm install
for the first time. Make sure everything was setup correctly with npm test
.
React development server can be started with npm start
.
make format
- Fix black format issuesmake sort
- Fix import sorting issuesmake genoutsidedb
- SqlAlchemy models generation for outside database
Try run make rebuild
and make up
if something went wrong.
To run make test
you must set CI_PROJECT_DIR
to the project dir.