Middlewarer / ToDoAppdjango

ToDo application with basic CRUD operations involved
0 stars 1 forks source link
app application todolist

Django-based ToDo Application

image

Setup

1. Clone the repository

$ git clone https://github.com/Middlewarer/ToDoAppdjango.git
$ cd folder

2. Create a virtual environment to install dependencies in and activate it:

$ virtualenv2 --no-site-packages env
$ source env/bin/activate

3. Install the dependencies:

(env)$ pip install -r requirements.txt

Make and Apply the migrations

python manage.py makemigrations
python manage.py migrate

Configure the default keys in settings.py or in .env created file.


Note the `(env)` in front of the prompt. This indicates that this terminal session operates in a virtual environment set up by `virtualenv2`. Once `pip` has finished downloading the dependencies: ```sh (env)$ cd project (env)$ python manage.py runserver ``` And navigate to `http://127.0.0.1:8000/tasks/`.