/get-things-done

This is a todo manager based on David Allen's Getting Things Done.

Primary LanguagePython

About Get Things Done

This is a todo manager based on David Allen's Getting Things Done.

Problem statement

  • Managing tasks
  • is a problem for most people
  • because they don't have a system for it.

Getting the local server running

# Clone repository
git clone <repo-link>
cd get_things_done

# creating virtual env
# python3 -m venv path/to/venv
python3 -m venv .venv
source .venv/bin/activate

# create a new database
mysql -u root -p --default-character-set=utf8mb4
CREATE DATABASE get_things_done_db CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;
CREATE DATABASE test_get_things_done_db CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;

# Create MySQL users
create user 'py-user' identified by 'p@@sWord';
grant all privileges on get_things_done_db.* to 'py-user';
grant all privileges on test_get_things_done_db.* to 'py-user';
flush privileges;
exit

# install dependencies
pip install --upgrade pip
pip install wheel
pip install -r requirements/requirements-dev.txt

# install pre-commit hooks
pre-commit install

# Provide database authentications
cp .env.sample .env
# update the .env file with mysql username, password and database name
vi .env

# Create database and tables
python manage.py migrate

# Start development server
python manage.py runserver

Deployment

git push live