New website with better UI written in Django.
- entr is required to use live reload
style.scss
compilation - scss is required to compile stylesheets
- python3 and pip (of course)
NOTE: It is recommended to install using pipenv
python3 -m pip install --user -r requirements.txt
This is the recommended way of installing python dependencies.
Pipenv is required
python3 -m pipenv install
python3 -m pipenv shell
By default every time you start the server with python pitv/manage.py runserver
it uses different key. In order to change that, make local_settings.py
in pitv/pitv/
.
First, create database with:
./scripts/manage.sh migrate
Second, create admin user:
./scripts/manage.sh createsuperuser
Third, generate static files:
./scripts/make.sh
./scripts/manage.sh collectstatic
Finally, run the server:
./scripts/run.sh # or ./scripts/manage.sh runserver
Or setup everything with:
./scripts/setup.sh
./scripts/run.sh
- User profile (email, name, username, hashed password)
- Device codes, temporary for registering new devices (randomly generated code, ip address for spam prevention, expire date)
- User session, used for access control and revoking (ip address of logged in device, user agent of the device). Without that, device list wouldn't work For user privacy, I will probably make ip address and user agent optional, but without option to revoke devices.
Feel free to open issue or pull request.
Usually grep -i "TODO" -r .
will reveal things that should be changed