Backend admin dashboard management system based on Bootstrap 5 and NiceAdmin and Rails 7
Preview: https://start.rails365.net/admin
NiceAdmin is open source template based on Bootstrap 5, you can download it from network, I integrate it with Rails 7.
It will integrate various functions and plugins, mainly for easy writing code.
Please make sure that Redis and PostgreSQL server is running.
- Beautiful style based on NiceAdmin
- Based on Rails 7 and hotwired turbo and stimulus
- Integrate automation deployment: capistrano
- Devise for authentication
- Pagination(comming soon)
- Charts with chartjs and apexcharts and echarts
- Icons: Bootstrap Icons and RemixIcons and Boxicons and FontAwesome
- Text Editor: Quill and TinyMCE
- Breadcrumbs
- Integrate Action Text
- Support frontend website seo
- Custom error page
- Flash helper
- Support API(comming soon)
- Integrate tailwind for frontend
- Integrate Simple-DataTables
- Support aliyun, qiniu cloud storage
- Move stimulus from importmap to webpacker
- Support letter avatar
- Admin user can upload own avatar
- rails_admin
- sidekiq
- meta_tags
- awesome_print
- groupdate
- pghero
- whenever
- devise
- dotenv-rails
- image_processing
- importmap-rails
- sprockets-rails
- turbo-rails
- stimulus-rails
- jbuilder
- shakapacker
- letter_avatar
Install your system softwares first.
brew install imagemagick vips redis postgresql gs
$ sudo apt-get install postgresql-14 redis-server imagemagick ghostscript libvips
Then follow this link to install Ruby and Rails
Or install rvm and then install Rails manually.
Running the app finally
git clone git@github.com:hfpp2012/railstart-niceadmin.git
cd railstart-niceadmin
bundle install
cp .env.template .env
# and then change .env configurations for you
rails db:migrate
rails db:seed
rails server
# change .env file configurations and upload nginx config
bundle exec cap production puma:nginx_config
# then
bundle exec cap production deploy
Also support other capistrano commands.
gem "capistrano", "~> 3.16", require: false
gem "capistrano-rails", "~> 1.6", require: false
gem "capistrano-rvm", "~> 0.1.2"
gem "capistrano3-puma", "~> 5.2"
gem "capistrano-rails-console", "~> 2.3", require: false
gem "capistrano-db-tasks", "~> 0.6", require: false
gem "capistrano-sidekiq", "~> 2.0"
You can type cap -T
for details.
Copyright (c) 2022 hfpp2012
Released under the MIT license: