Skip to content

iax7/registro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Registro

Rubocop Ruby Rails PostgreSQL NodeJS Conventional Commits

Run Locally

just setup
just db-setup
just dev

Secrets

Edit the secrets variables

  • If you are starting over:

    # 1. create .env file
    cp .env.template .env
    # 2. create a key
    rake secret | tail -1 | cut -c1-32 > config/master.key
  • Then create a Credentials file using rails credentials:edit and add the following content:

    secret_key_base: xxxxxxxx
    
    google_key: xxxxxxxx
    api_user: xxxxxxxx
    api_pass: xxxxxxxx
    
    smtp:
      address: xxxxxx.xx.com
      domain: xxxxxxxxxx.com
      user_name: xxxx@xxxxxxxx.com
      password: xxxxxxxx

DB

Start PostgreSQL DB (with docker)

docker run --name reg -p 5432:5432 \
      -v ~/dev/data/reg:/var/lib/postgresql/data \
      -e POSTGRES_PASSWORD=123456 -d postgres:13

# or using Podman
podman run --name reg -p 5432:5432 -e POSTGRES_PASSWORD=123456 -d docker.io/library/postgres:18

add in your .env file the following variables:

DATABASE_URL=postgresql://postgres:123456@localhost:5432

Documentation

About

WebApp to manage people registration, consumption, payments to an event.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors