init
This commit is contained in:
21
README.md
Normal file
21
README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
## 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`
|
||||
Reference in New Issue
Block a user