LifePex/README.md

1.3 KiB

LifePex

Setup

# 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"
./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, ...)

recap image today image