AslihanArslan / todo

Django Todo App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Todo App

cd todo/
pipenv install

If there is an error about psycopg2 error:

Error

You can use this command:

sudo apt-get install libpq-dev

After this command, try again this command

pipenv install
pipenv shell

If there is no postresql in your computer, please install postgresql:

sudo apt update & sudo apt install postgresql postgresql-contrib

Check service is working or not:

systemctl status postgresql.service

Open postgresql in your computer write these codes

sudo su - postgres
psql
CREATE DATABASE tododb;
CREATE USER aslihan  WITH PASSWORD '123456';
\q
exit

Make migrate project

python manage.py migrate

Run code

python manage.py runserver

About

Django Todo App


Languages

Language:Python 61.5%Language:HTML 38.5%