CityOfZion / neo-scan

Blockchain explorer for NEO
https://neoscan.io
MIT License
70 stars 65 forks source link

Neoscan

Gitlab Coveralls

Elixir + Phoenix Blockchain explorer for NEO

Contents

How to Contribute

To run, first install Elixir and Phoenix at:

Development

Run Docker

You can skip this section if you do not wish to run docker.

Using docker you can start the project with:

Run Tests

To run the tests:

Raise Main Net Phoenix

To start the Application/Phoenix server:

Raise Test Net Phoenix

To start the Application/Phoenix server:

Now you can visit localhost:4000 from your browser.

Make sure the username and password for your PostgreSQL match the contents of "apps/neoscan/config/dev.exs"

PostgreSQL Fu

Dump your database with pg_dump, i.e.,

To tarball:

pg_dump -U postgres -h localhost -W -F t neoscan_dev > neoscan_dev_testnet.tar

To file:

pg_dump -U postgres -h localhost -W neoscan_dev > neoscan_dev_testnet

Restore:

pg_restore --dbname=neoscan_dev --verbose neoscan_dev_testnet.tar

Notes

Learn more