Skip to content

Commit

Permalink
Add development instructions to README (safe-global#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 authored Aug 30, 2021
1 parent 47b9fe3 commit 7defb15
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .env.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
PYTHONPATH=/app/
DJANGO_SETTINGS_MODULE=config.settings.local
C_FORCE_ROOT=true
DEBUG=0
DATABASE_URL=psql://postgres:postgres@db:5432/postgres
ETHEREUM_NODE_URL=http://ganache:8545
ETHEREUM_TRACING_NODE_URL=
ETH_L2_NETWORK=1
REDIS_URL=redis://redis:6379/0
CELERY_BROKER_URL=redis://redis:6379/1
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ a transaction that is pending to be sent to the blockchain.

- [Docs](https://docs.gnosis.io/safe/docs/services_transactions/)

## Setup for development
```bash
cp .env.dev .env
docker-compose build --force-rm
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
```

## Setup for production (event indexing)
Since **version 3.0.0** transaction service can be configured to rely on **event indexing**
when [SafeL2 version](https://github.com/gnosis/safe-contracts/blob/v1.3.0/contracts/GnosisSafeL2.sol) is used. Only
Expand Down

0 comments on commit 7defb15

Please sign in to comment.