mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Add info about bin/dev to docs
This commit is contained in:
committed by
Oliver Günther
parent
7f3beb447c
commit
42f8ca88ee
@@ -191,11 +191,12 @@ RAILS_ENV=development bin/rails db:seed
|
||||
|
||||
You can run all required workers of OpenProject through `foreman`, which combines them in a single tab. This is useful for starting out,
|
||||
however most developers end up running the tasks in separate shells for better understanding of the log output, since foreman will combine all of them.
|
||||
The `bin/dev` command will check if `foreman` is available, install it if needed and will run the application via `Procfile.dev`
|
||||
|
||||
```bash
|
||||
gem install foreman
|
||||
foreman start -f Procfile.dev
|
||||
bin/dev
|
||||
```
|
||||
|
||||
The application will be available at `http://127.0.0.1:3000`. To customize bind address and port copy the `.env.example` provided in the root of this
|
||||
project as `.env` and [configure values](https://ddollar.github.io/foreman/#ENVIRONMENT) as required.
|
||||
|
||||
|
||||
@@ -242,11 +242,12 @@ RAILS_ENV=development bin/rails db:seed
|
||||
|
||||
You can run all required workers of OpenProject through `foreman`, which combines them in a single tab. This is useful for starting out,
|
||||
however most developers end up running the tasks in separate shells for better understanding of the log output, since foreman will combine all of them.
|
||||
The `bin/dev` command will check if `foreman` is available, install it if needed and will run the application via `Procfile.dev`
|
||||
|
||||
```bash
|
||||
gem install foreman
|
||||
foreman start -f Procfile.dev
|
||||
bin/dev
|
||||
```
|
||||
|
||||
The application will be available at `http://127.0.0.1:3000`. To customize bind address and port copy the `.env.example` provided in the root of this
|
||||
project as `.env` and [configure values](https://ddollar.github.io/foreman/#ENVIRONMENT) as required.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user