added migrations steps to README
This commit is contained in:
parent
6a7a824a7e
commit
c603a7b580
1 changed files with 4 additions and 1 deletions
|
@ -12,4 +12,7 @@ this session.
|
||||||
1. Install `python >= 3.11`
|
1. Install `python >= 3.11`
|
||||||
2. Create a virtual environment with `python -m venv ./.venv/`. The next steps will be inside it.
|
2. Create a virtual environment with `python -m venv ./.venv/`. The next steps will be inside it.
|
||||||
3. Install the dependencies with `python -m pip install -r ./requirements.txt`.
|
3. Install the dependencies with `python -m pip install -r ./requirements.txt`.
|
||||||
4. Run the program by with `python ./manage.py runserver`.
|
4. Modify the `Palto/settings.py` file to setup your database and other settings.
|
||||||
|
5. Make the migrations with `python ./manage.py makemigrations`.
|
||||||
|
6. Apply the migrations to the database with `python ./manage.py migrate`.
|
||||||
|
7. Run the program by with `python ./manage.py runserver`.
|
||||||
|
|
Loading…
Reference in a new issue