Cool but simple web-app mobile-compatible to gamify your life and self-improvement https://lifepex.sceptique.eu/
Go to file
Arthur POULET ac32362255
pex: improve - management to avoid bad ux
closes #44

closes #37
2021-06-16 21:20:51 +02:00
config Improve registering new users with default value and redirection to today 2021-06-01 20:08:04 +02:00
documentation doc: add a french user guide 2021-06-12 13:14:51 +02:00
init favorite: add bookmark system to highlight favorites 2021-06-11 17:55:59 +02:00
public keep public/doc empty folder to avoid init errors 2021-06-14 23:17:45 +02:00
scripts img: add favicon 2021-06-11 21:40:06 +02:00
src pex: improve - management to avoid bad ux 2021-06-16 21:20:51 +02:00
.gitignore init: Init database 2021-05-01 18:46:45 +02:00
Gemfile security: add csrf protection and fix last update 2021-06-16 21:14:49 +02:00
Gemfile.lock security: add csrf protection and fix last update 2021-06-16 21:14:49 +02:00
README.md readme: add dependencies 2021-06-14 23:18:08 +02:00

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, ...)

recap image today image