To do list web app with REST API
If your project is already in an existing python3 virtualenv first install django by running
$ pip install django
This assumes that python3
is linked to valid installation of python 3 and that pip
is installed and pip3
is valid
for installing python 3 packages.
Installing inside virtualenv is recommended, however you can start your project without virtualenv too.
If you don't have django installed for python 3 then run:
$ pip3 install django
After that just install the local dependencies, run migrations, and start the server.
First clone the repository from Github and switch to the new directory:
$ git clone https://github.com/Shrey139/to-do-drf
$ cd todo_drf
Activate the virtualenv for your project.
Install project dependencies:
$ pip install -r requirements.txt
Then simply apply the migrations:
$ python manage.py migrate
You can now run the development server:
$ python manage.py runserver