-
Setup python poetry localy https://python-poetry.org/docs/#installing-with-the-official-installer
-
Run
poetry install
(installs the dependenies just like yarn of npm) -
Run
poetry shell
(setting up virtual env ) -
Run
poetry run python manage.py runserver
- For adding more packages use
poetry add
command instead of using pip
- Marketing (25/2/23) by ajmal
## user
CREATE USER sammy WITH PASSWORD 'pa$$word';
- create migratiosns
poetry run python manage.py makemigrations
- Run the following command to apply the migrations to your database
poetry run python manage.py migrate