Cool but simple web-app mobile-compatible to gamify your life and self-improvement
https://lifepex.sceptique.eu/
Arthur POULET
ac32362255
closes #44 closes #37 |
||
---|---|---|
config | ||
documentation | ||
init | ||
public | ||
scripts | ||
src | ||
.gitignore | ||
Gemfile | ||
Gemfile.lock | ||
README.md |
README.md
LifePex
Dependencies
- git
- ruby 3
- sqlite or postgresql
Setup
# Install dependencies
bundle install
# SQLITE
./init/database.rb sqlite://sqlite.db
# POSTGRESQL
psql -U postgres postgres -c "CREATE USER root WITH PASSWORD 'toor' SUPERUSER;"
psql -U postgres postgres -c "CREATE DATABASE life_pex"
./init/database.rb postgres://root:toor@localhost/life_pex
Start
export LIFEPEX_SECRET="put something random here"
export LIFEPEX_BASE_URL="https://mydomain/base"
export LIFEPEX_DB="sqlite://sqlite.db"
# you may also want to use postgres or something
# export LIFEPEX_DB="postgres://root:toor@localhost/life_pex"
# export LIFEPEX_BIND="0.0.0.0" # you may want to bind against something else than 127.0.01
./src/app.rb
Generate documentation
./init/doc.rb
xdg-open ./public/doc/index.html
Features
- Register an account
- Reset password
- Add pex models
- Add point each day to each pex model
- Make a nice smooth level function
- Create a nice CSS template to make it dark and flashy and cyberpunk kikoo
- Protect privacy with private pex models
- Import CSV script
- Make a basic recap graph
- Make a niice recap graph
- Add an easy and quick way to edit pex
- Add advanced pex with variable value
- Improve security (token validity limit, random seed warning, ...)