Skip to content

Starting using vali-admin, an Free Bootstrap 4 Admin Template in Rails 5.2

License

Notifications You must be signed in to change notification settings

Eric-Guo/vali-admin-rails

Repository files navigation

CircleCI

Introduction

This project using the Vali admin as a frontend UI framework in a Rails 5.2 project (webpacker and stimulus enable).

PR welcome, but notice UI part should go to Vali admin upsteam instead of here.

Preinstall

brew install ruby
brew install node
brew install yarn
brew install postgresql
gem install bundler
echo 'gem: "--no-document"' >> ~/.gemrc

Regenerate master.key (skip if you have)

rm config/credentials.yml.enc
bin/rails credentials:edit
# copy secret_key_base line and paste as new line as devise_secret_key

Link the master.key (using above if you don't)

ln -s /Users/user_name/.ssh/harman_vendor_master.key config/master.key

Development prepare

bin/setup

Run test

bin/rake

Start development

bin/rails s