added migrations steps to README

This commit is contained in:
Faraphel 2024-01-05 10:32:30 +01:00
parent 6a7a824a7e
commit c603a7b580

View file

@ -12,4 +12,7 @@ this session.
1. Install `python >= 3.11`
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`.
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`.