@@ -105,22 +105,50 @@ the editor will not destroy them, you'll need to implement a purge logic for tha
105105
106106Project created by [ Mattia Roccoberton] ( http://blocknot.es ) , thanks also to the good guys that opened issues and pull requests from time to time.
107107
108- A Docker dev setup is provided if you like to work with it:
108+ There 3 ways to interact with this project:
109+
110+ 1 ) Using Docker:
109111
110112``` sh
111113# Run rails server on the dummy app (=> http://localhost:3000 to access to ActiveAdmin):
112114make up
113- # Enter in a console of the dummy app after it has been started:
115+ # Enter in a Rails console (with the dummy app started) :
114116make console
115- # Enter in a shell of the dummy app after it has been started:
117+ # Enter in a shell (with the dummy app started) :
116118make shell
117- # Run the linter on the project:
119+ # Run the linter on the project (with the dummy app started) :
118120make lint
119- # Remove container and image after stopping the app:
121+ # Run the test suite (with the dummy app started):
122+ make specs
123+ # Remove container and image:
120124make cleanup
125+ # To try different versions of Ruby/Rails/ActiveAdmin edit docker-compose.yml
126+ # For more commands please check the Makefile
127+ ```
128+
129+ 2 ) Using Appraisal:
130+
131+ ``` sh
132+ export RAILS_ENV=development
133+ # Install dependencies
134+ bin/appraisal
135+ # Run server (or any command)
136+ bin/appraisal rails s
137+ # Or with specific versions
138+ bin/appraisal rails71-activeadmin rails s
121139```
122140
123- For more commands please check the [ Makefile] ( Makefile ) .
141+ 3 ) With a local setup:
142+
143+ ``` sh
144+ # Dev setup (set the required envs)
145+ source extra/dev_setup.sh
146+ # Install dependencies
147+ bundle
148+ # Run server (or any command)
149+ bin/rails s
150+ # To try different versions of Rails/ActiveAdmin edit extra/dev_setup.sh
151+ ```
124152
125153## Do you like it? Star it!
126154
0 commit comments