- Ruby-Version: 2.5.1
- Rails: >=5.2.0
- Production ENV is set to use Phusion Passenger as App-Server and Mini-Racer as JS-Runtime.
git clone https://github.com/morris-frank/buergerwerke-intranet.git .
bundle install
rails db:create
rails db:migrate
(rails db:seed)
rails assets:precompile
You will have to Create a Admin Account by Hand:
rails c
and run for example:
Admin.create!(email: '[email protected]', password: 'password', password_confirmation: 'password')
If your working in development Mode you can also just add the Seeds (including the above Admin account):
rails db:seed
Then run server:
rails s
and have Member section under localhost:3000 and the admin section under localhost:3000/admin.