1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

updated documentation

This commit is contained in:
Sylvain 2020-06-22 12:37:33 +02:00
parent 501aed9c33
commit 6a5d4fbaa3
2 changed files with 7 additions and 3 deletions

View File

@ -50,13 +50,17 @@ This procedure is not easy to follow so if you don't need to write some code for
> ⚠ If you are using MacOS X, you must *first* edit the files located in docker/development to use port binding instead of ip-based binding.
> This can be achieved by uncommenting the "port" directives and commenting the "networks" directives in the docker-compose.yml file.
> The hosts file must be modified too, accordingly.
> ⚠ `ERROR: Pool overlaps with other one on this address space`
> In this case, you must modify the /etc/hosts and docker-compose.yml files to change the network from 172.18.y.z to 172.x.y.z, where x is a new unused network.
```bash
cd fab-manager
cat docker/development/hosts | sudo tee -a /etc/hosts
mkdir -p .docker/elasticsearch/config
cp docker/development/docker-compose.yml .docker
cp docker/elasticsearch.yml .docker/elasticsearch/config
cp docker/log4j2.properties .docker/elasticsearch/config
cp setup/elasticsearch.yml .docker/elasticsearch/config
cp setup/log4j2.properties .docker/elasticsearch/config
cd .docker
docker-compose up -d
cd -

View File

@ -67,7 +67,7 @@ This is currently not supported, because of some PostgreSQL specific instruction
- `app/services/members/list_service.rb@list` is using `ILIKE`, `now()::date` and `OFFSET`;
- `app/services/invoices_service.rb@list` is using `ILIKE` and `date_trunc()`;
- `db/migrate/20160613093842_create_unaccent_function.rb` is using [unaccent](https://www.postgresql.org/docs/current/static/unaccent.html) and [trigram](https://www.postgresql.org/docs/current/static/pgtrgm.html) modules and defines a PL/pgSQL function (`f_unaccent()`);
- `app/controllers/api/members_controllers.rb@search` is using `f_unaccent()` (see above) and `regexp_replace()`;
- `app/controllers/api/members_controller.rb@search` is using `f_unaccent()` (see above);
- `db/migrate/20150604131525_add_meta_data_to_notifications.rb` is using [jsonb](https://www.postgresql.org/docs/9.4/static/datatype-json.html), a PostgreSQL 9.4+ datatype;
- `db/migrate/20160915105234_add_transformation_to_o_auth2_mapping.rb` is using [jsonb](https://www.postgresql.org/docs/9.4/static/datatype-json.html), a PostgreSQL 9.4+ datatype;
- `db/migrate/20181217103441_migrate_settings_value_to_history_values.rb` is using `SELECT DISTINCT ON`;