Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.74 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.74 KB

Neoscan

Gitlab Coveralls

Elixir + Phoenix Blockchain explorer for NEO

How to contribute

Using docker you can start the project with:

  • docker-compose up -d
  • docker exec -it phoenixdev sh
  • cd /data

Development

To run, first install Elixir and Phoenix at:

To run the tests:

  • Install dependencies with mix deps.get --only test
  • Create and migrate your database with MIX_ENV=test mix ecto.create && mix ecto.migrate
  • Run mix test

To start your The Application/Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with cd apps, cd neoscan_web, then cd assets && npm install
  • Start Phoenix endpoint with mix phx.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"

Learn more