You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+49-5Lines changed: 49 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,17 +234,61 @@ end
234
234
235
235
The link url is loaded via AJAX before opening the dialog.
236
236
237
+
## Development
238
+
239
+
Project created by [Mattia Roccoberton](http://blocknot.es), thanks also to the good guys that opened issues and pull requests from time to time.
240
+
241
+
There 3 ways to interact with this project:
242
+
243
+
1) Using Docker:
244
+
245
+
```sh
246
+
# Run rails server on the dummy app (=> http://localhost:3000 to access to ActiveAdmin):
247
+
make up
248
+
# Enter in a Rails console (with the dummy app started):
249
+
make console
250
+
# Enter in a shell (with the dummy app started):
251
+
make shell
252
+
# Run the linter on the project (with the dummy app started):
253
+
make lint
254
+
# Run the test suite (with the dummy app started):
255
+
make specs
256
+
# Remove container and image:
257
+
make cleanup
258
+
# To try different versions of Ruby/Rails/ActiveAdmin edit docker-compose.yml
259
+
# For more commands please check the Makefile
260
+
```
261
+
262
+
2) Using Appraisal:
263
+
264
+
```sh
265
+
exportRAILS_ENV=development
266
+
# Install dependencies:
267
+
bin/appraisal
268
+
# Run server (or any command):
269
+
bin/appraisal rails s
270
+
# Or with a specific configuration:
271
+
bin/appraisal rails80-activeadmin rails s
272
+
```
273
+
274
+
3) With a local setup:
275
+
276
+
```sh
277
+
# Dev setup (set the required envs):
278
+
source extra/dev_setup.sh
279
+
# Install dependencies:
280
+
bundle update
281
+
# Run server (or any command):
282
+
bin/rails s
283
+
# To try different versions of Rails/ActiveAdmin edit extra/dev_setup.sh
284
+
```
285
+
237
286
## Do you like it? Star it!
238
287
239
288
If you use this component just star it. A developer is more motivated to improve a project when there is some interest. My other [Active Admin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source).
240
289
241
290
Or consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).
0 commit comments