зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-08-28 15:36:17 +03:00
32 строки
742 B
Markdown
32 строки
742 B
Markdown
## Development
|
|
|
|
### Dev setup
|
|
|
|
There are 2 ways to interact with this project:
|
|
|
|
1) Using Docker:
|
|
|
|
```sh
|
|
make up # starts the dev services (optional env vars: RUBY / RAILS / ACTIVEADMIN)
|
|
make specs # run the tests (after up)
|
|
make lint # run the linters (after up)
|
|
make server # run the server (after up)
|
|
make shell # open a shell (after up)
|
|
make down # cleanup (after up)
|
|
|
|
# Example using specific versions:
|
|
RUBY=3.2 RAILS=7.1 ACTIVEADMIN=3.2.0 make up
|
|
```
|
|
|
|
2) With a local setup:
|
|
|
|
```sh
|
|
# Dev setup (set the required envs):
|
|
source extra/dev_setup.sh
|
|
# Install dependencies:
|
|
bundle update
|
|
# Run server (or any command):
|
|
bin/rails s
|
|
# To try different versions of Rails/ActiveAdmin edit extra/dev_setup.sh
|
|
```
|