The application is written in Ruby on Rails, download the repository and get started!
- Install
Ruby 2.7.1
(rbenv) - Install
Postgres
- Install
yarn
- Install
bundler
- Run
bin/setup
inside this repository.
https://github.com/FiloSottile/mkcert
brew install mkcert
mkcert -install
cd config/ssl
mkcert example.com "*.example.com" example.test localhost 127.0.0.1 ::1
mv example.com+5-key.pem example-key.pem
mv example.com+5.pem example.pem
Application should be available at https://localhost:8443
.
If editing a lot of javascript code which needs to be recompiled, start the webpack-dev-server
separately.
In a terminal separate from rails s
:
./bin/webpack-dev-server
foreman start -f Procfile.dev
- Run
rails console
- In the console, input:
User.create!(email: 'youremail@mail.com', role: :admin, password: 'your-new-password', name: 'You!')