The source code of sahki
Install dependencies:
-
postgresql
$ brew install postgresql
Ensure you have already initialized a user with username:
postgresand password:postgres( e.g. using$ createuser -d postgrescommand creating one ) -
rails 6
Using
rbenv, updaterubyup to 2.5 or higher, and installrails 6.0.0$ ruby -v ( output should be 2.5.x or 2.6.x ) $ gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.com/` (optional, Chinese developer recommend) $ gem install rails $ rails -v ( output should be rails 6.0.0 )
-
yarn
Install
yarnfor webpacker( see install document: https://yarnpkg.com/en/docs/install)$ yarn --version( output should be 1.6.x or higher )
Then,
$ ./bin/setup
$ ./bin/webpack-dev-server
# open new terminal tab
$ rails sAccess url: /admin
Default superuser: admin
Default password: admin
- Ruby on Rails 6.0
- bootstrap 4
- font-awesome 5
- figaro
- postgres
- slim
- simple_form
- high_voltage
- active_storage
- sidekiq
- kaminari
- mina
- puma
- rspec
- adminlte 3
MIT