kir-dev / kbpr-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

How to develop locally

Database setup

Change to the postgres user on the os Create a PostgreSQL super user role that has the name of your OS user and set no password: Go back to your original user.

sudo su postgres
createuser -s <<YOUR_USERNAME>>
exit

Start the rails server

The asset precompilation is done in a separate process so regular rails s wil not build the assets. Run the dev script to run rails server and the asset compiler in one process

bin/dev

AuthSch login

cp .env.example .env

Set the client id and secret from the AuthSch developer console.

About


Languages

Language:Ruby 66.0%Language:HTML 28.2%Language:CSS 3.4%Language:JavaScript 2.2%Language:Dockerfile 0.1%Language:Shell 0.1%