Source code changes can have an impact on more than one container.
Source code changes can have an impact on more than one container.
**If you're unsure about which containers to rebuild, just rebuild them all**:
**If you're unsure about which containers to rebuild, just rebuild them all**:
```
```bash
cd ops
cd ops
docker-compose down
docker-compose down
docker-compose build
docker-compose build
...
@@ -111,7 +126,7 @@ docker-compose up
...
@@ -111,7 +126,7 @@ docker-compose up
Finally, **if you're running into weird problems and nothing seems to be working**, run:
Finally, **if you're running into weird problems and nothing seems to be working**, run:
```
```bash
cd optimism
cd optimism
yarn clean
yarn clean
yarn build
yarn build
...
@@ -125,7 +140,7 @@ docker-compose up
...
@@ -125,7 +140,7 @@ docker-compose up
By default, the `docker-compose up` command will show logs from all services, and that
By default, the `docker-compose up` command will show logs from all services, and that
can be hard to filter through. In order to view the logs from a specific service, you can run:
can be hard to filter through. In order to view the logs from a specific service, you can run:
```
```bash
docker-compose logs --follow <service name>
docker-compose logs --follow <service name>
```
```
...
@@ -171,3 +186,9 @@ cd packages/contracts
...
@@ -171,3 +186,9 @@ cd packages/contracts
pip3 install slither-analyzer
pip3 install slither-analyzer
yarn test:slither
yarn test:slither
```
```
## License
Code forked from [`go-ethereum`](https://github.com/ethereum/go-ethereum) under the name [`l2geth`](https://github.com/ethereum-optimism/optimism/tree/master/l2geth) is licensed under the [GNU GPLv3](https://gist.github.com/kn9ts/cbe95340d29fc1aaeaa5dd5c059d2e60) in accordance with the [original license](https://github.com/ethereum/go-ethereum/blob/master/COPYING).
All other files within this repository are licensed under the [MIT License](https://github.com/ethereum-optimism/optimism/blob/master/LICENSE) unless stated otherwise.