Skip to content

Commit 65dac3b

Browse files
committed
chore: Run all service for development with bin/dev
It takes time to start all services for local verification. Running everything with `bin/dev` increases productivity.
1 parent c5128f4 commit 65dac3b

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Procfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
assets: bin/shakapacker-dev-server
2+
executor: ../poseidon/poseidon
3+
worker: bin/jobs
4+
web: bin/rails s -p 7000

bin/dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/usr/bin/env ruby
2-
exec "./bin/rails", "server", *ARGV
2+
exec "overmind", "start", *ARGV

docs/LOCAL_SETUP.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ For exporting metrics, enable the Prometheus exporter in `config/code_ocean.yml`
239239
bundle exec prometheus_exporter
240240
```
241241

242+
#### Overmind (optional)
243+
244+
A Procfile is configured to run all services with the `bin/dev` command. [Overmind](https://github.com/DarthSim/overmind) is required as a process manager and the Poseidon must be in placed in the parent directory (../poseidon/poseidon).
245+
246+
242247
## Native Setup for Nomad
243248

244249
As detailed earlier, this guide focuses on CodeOcean. Nevertheless, the following provides a short overview of the most important steps to get started with Nomad (as required for Poseidon). Please refer to the [full setup guide](https://github.com/openHPI/poseidon/blob/main/docs/development.md) for more details.

0 commit comments

Comments
 (0)