- pipenv run python ./manage.py runserver 0.0.0.0:8888 Run server in port 8888
- pipenv run python ./manage.py makemigrations Make migrations for the models
- pipenv run python ./manage.py migration Apply the migrations in db
- pipenv run python ./manage.py startapp article ./src/app/article/ Create a new model
Install depencdences:
-
pipenv install django
-
pipenv install djangorestframework
-
pipenv install mysqlclient
-
django-admin startproject src . Start a new DRF proyect in the acual path
-
pipenv install Install dependencis