21 lines
624 B
Markdown
21 lines
624 B
Markdown
## First run
|
|
* install https://nodejs.org/en (tested with version 20)
|
|
* install https://www.python.org/ (tested with version 3.12)
|
|
* `cp .env.sample .env`
|
|
* modify .env
|
|
* follow requirements sections
|
|
|
|
## Requirements python
|
|
* ### for dev : `pip install -r requirements/dev.txt`
|
|
* ### for prod : `pip install -r requirements/prod.txt`
|
|
|
|
## Requirements nodejs
|
|
* ### Linux `cd frontend && npm install && cd -`
|
|
* ### Windows `pushd .; cd frontend; npm install; popd`
|
|
|
|
|
|
## Run project
|
|
* ### for dev :
|
|
* in base dir `python manage.py runserver`
|
|
* in frontend dir `npm run dev`
|
|
* ### for prod : in frontend dir `npm run build` |