Yet another self-hosted note taking app and TODO list manager.
This version is at pre-alpha version at the moment
For development instructions see below.
-
Prerequisites
Install
dockeranddocker-compose. See official instructions for installation of Docker and Compose. -
Create docker images
- run
docker-compose buildto build individual images - run
docker-compose up - or to detach it right away to run it in the background
docker-compose up -d
For further configuration see
docker-compose.yamlandDockerimagefiles in the source root, and other configuration files indocker/folder. Detailed in docker.md.Note that you also can create your individual Docker images via
docker build -t notes-backend -f docker/backend/Dockerfile ./docker build -t notes-frontend -f docker/frontend/Dockerfile ./
- run
TBD, See SPECS.md for rough details
- Prerequisites
To build manually you'll need the following packages installed:
- Python 3.7 and pip 18.1 (optionally within a virtual environment) for backend
- Node 11.7 and NPM 6.5 for frontend
- Start frontend
cd frontend
npm i
npm run dev- Start backend
Install all the dependencies:
cd backend
pip install Cython && pip install -r requirements.txt && pip install -r requirements-dev.txt
python manage,py createdb
cp dev.env .env
python manage.py runserver- Integrated Development Environment
We prefer Visual Studio code. Therefore an environemnt config is already supplied with the repo, altogether with different .*rc files. The following configuration / linting and quality tools are used:
- flake8 (Recommended VSCode plugins: Python, Test Explorer UI, Python Test Explorer)
- eslint (Recommended VSCode plugins: vue, vetur, eslint, beautifyrc)
- editorconfig (Recommended VSCode plugins: editorconfig)
Any contribution ot this project is welcomed, and appreciated, however there isn't any developer guideline set at this moment.
- For python static code analysis an style check we use
flake8,however it's not fully configured.
Make sure that requirements for development has been installed pip install -r requirements-dev.txt
-
backend
cd backend/ python tests.py -
frontend
- There's none ATM
TBD
- On some enviromnent, live reload of the backend app simply doens't work, and stuck.
- DB restore script doesn't work due foreign key issues on insertion.
- When DB disconnects, Backand can't recover.