Skip to content

Latest commit

 

History

History
96 lines (61 loc) · 2.12 KB

install.md

File metadata and controls

96 lines (61 loc) · 2.12 KB

Dynamic EbbingHaus-based Assignment Planner

image

There are many task (memory) planners in existence, but the problem is they are either not flexible or hard to get started with:

  • some need you to install an app and register an account.
  • some can automatically generate a list, but you cannot insert new task in that list!

But what if I only want a task planner that is flexible and easy to use?

This is A more flexiable Task Planner

you can add your task(memory), and it will automatically calculate review dates based on Ebbinghaus's Forgetting Curve and show the next time you need to review on a calendar!

Still Under development!!

Frontend Start

go to src/ebbinghaus_client

npm install
npm start

Backend start

go to /src/ebbinghaus_planner

docker-compose up -d
python manage.py runserver

Common Issues

Webpack build failing with ERR_OSSL_EVP_UNSUPPORTED

solution:

https://stackoverflow.com/questions/69394632/webpack-build-failing-with-err-ossl-evp-unsupported

a easy way to solve

macOS and Linux
You should have installed NVM (Node Version Manager). If you never had before, just run this command in your terminal:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash

Open your project

Open the terminal in your project

Run the command nvm install 16.13.0 or any older version

After the installation is completed, run nvm use 16.13.0
nvm install 16.13.0
nvm use 16.13.0

Development

Backend Development

I use python virtual environment to make sure it doesn't affect my local environment

python3 -m venv ebbinghaus-env
source ebbinghaus-env/bin/activate

change the model

  • Modify models.py

After modifying your models, you'll need to create and run migrations to update the database schema.

python manage.py makemigrations
python manage.py migrate
python manage.py runserver

Package

npm install moment-timezone
npm install @mui/icons-material
npm install framer-motion
npm install styled-components