Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiskolabs/activeadmin-demo
https://github.com/kiskolabs/activeadmin-demo
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/kiskolabs/activeadmin-demo
- Owner: kiskolabs
- Created: 2024-03-19T11:35:18.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-10T08:10:28.000Z (6 months ago)
- Last Synced: 2024-05-11T09:29:29.959Z (6 months ago)
- Language: Ruby
- Size: 57.6 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
Full abstract and more details: https://gist.github.com/amkisko/c704c1a6462d573dfa4820ae07d807a6
```bash
$ rails new . -n ActiveAdminDemo -c tailwind -a propshaft --skip-test --skip-system-test$ rails tailwindcss:install
$ rails generate active_admin:assets
$ mv tailwind-active_admin.config.js config
$ cat config/tailwind-active_admin.config.js | sed 's/require(`@activeadmin\/activeadmin\/plugin`)/require(`${activeAdminPath}\/plugin.js`)/g' > config/tailwind-active_admin.config.js
$ bundle binstub tailwindcss-rails
$ rails generate active_admin:views
$ echo "active_admin: bin/rails active_admin:watch" > Procfile.dev$ vim lib/tasks/active_admin.rake
$ vim config/initializers/active_admin.rb$ rails g model button clicked:boolean clicked_at:timestamp
$ rails generate active_admin:resource Button$ rails db:create db:migrate db:seed
$ bin/dev
```