Skip to content

Rails app with the dashboard and the API for Easy Register App

Notifications You must be signed in to change notification settings

Cusur2k18/event-contro-base

Repository files navigation

CUSUR-Control de eventos

This application is the cms and api for the easy event register app

  • Ruby version ruby-2.5.3

  • Configuration

    We use Rails Credentials for all the environment configuration.

    First ask the administrator for the master key.

    Put the master key in the file master.key under app/config/. (You can create one if doesn't exists).

    To add or edit the credentials run:

      EDITOR=vim bin/rails credentials:edit

    edit or remove the credentials as you wish.

  • Database creation.

    • Run the migrations:

      $ rails db:migrate
  • Database initialization

    • For development, run the seeds
      $ rails db:seed
  • Run it

    Run the local server:

    $ rails s

    go to localhost:3000/admin and log in with the following credentials

      username: admin@example.com
      password: password
    

    Enjoy it!