Commit e0ffa3cc authored by MigueKun's avatar MigueKun

Update README.md

parent 6b3d13bf
......@@ -125,14 +125,14 @@ We use [Terraform](https://www.terraform.io/intro/getting-started/install.html)
MIX_ENV=prod mix do deps.get, local.rebar --force, deps.compile, compile
```
6. Create and migrate database.
Set postgres user password as same as point 4.
6. Set postgres user password as same as point 4.
```
sudo -u postgres psql
\password (set the password and press enter)
\q
```
Create and populate DB.
7. Create and populate DB.
```
mix ecto.create && mix ecto.migrate
```
......@@ -142,7 +142,7 @@ We use [Terraform](https://www.terraform.io/intro/getting-started/install.html)
mix do ecto.drop, ecto.create, ecto.migrate
```
7. Install Node.js dependencies.
8. Install Node.js dependencies.
```
cd apps/block_scout_web/assets && npm install --unsafe-perm; cd -
......@@ -150,13 +150,13 @@ We use [Terraform](https://www.terraform.io/intro/getting-started/install.html)
cd apps/block_scout_web/assets && npm run-script deploy; cd -
```
8. Update your JSON RPC Variant in `apps/explorer/config/prod.exs` and `apps/indexer/config/prod.exs`.
9. Update your JSON RPC Variant in `apps/explorer/config/prod.exs` and `apps/indexer/config/prod.exs`.
For `variant`, enter `ganache`, `geth`, or `parity`
9. Update your JSON RPC Endpoint in `apps/explorer/config/prod/` and `apps/indexer/config/prod/`
For the `variant` chosen in step 8, enter the correct information for the corresponding JSON RPC Endpoint in `parity.exs`, `geth.exs`, or `ganache.exs`
10. Update your JSON RPC Endpoint in `apps/explorer/config/prod/` and `apps/indexer/config/prod/`
For the `variant` chosen in step 9, enter the correct information for the corresponding JSON RPC Endpoint in `parity.exs`, `geth.exs`, or `ganache.exs`
10. Start Phoenix Server as service:
11. Start Phoenix Server as service:
Edit environment file to meet your system settings: [environment](https://git.pirl.io/community/explorer-blockscout/blob/master/environment)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment