From 7fc589984cc1be34ba1a473dc8bc4386784d1ba3 Mon Sep 17 00:00:00 2001 From: cyzanfar Date: Thu, 1 Feb 2018 14:15:33 +0100 Subject: [PATCH 1/3] change username Postgres config for consistency and remove unnecessary import --- config/dev.exs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/dev.exs b/config/dev.exs index a801546..b195236 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -51,10 +51,8 @@ config :phoenix, :stacktrace_depth, 20 # Configure your database config :cryptofolio, Cryptofolio.Repo, adapter: Ecto.Adapters.Postgres, - username: "postgres", + username: "username", password: "password", database: "cryptofolio_dev", hostname: "localhost", pool_size: 10 - -import_config "dev.secret.exs" From 8f4e323f17e44f19da5f3c82f711664035591f01 Mon Sep 17 00:00:00 2001 From: cyzanfar Date: Thu, 1 Feb 2018 14:27:46 +0100 Subject: [PATCH 2/3] improve readme --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/README.md b/README.md index 6b81aca..cb25337 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,36 @@ Alt Tracker is a beautiful, simple, cryptocurrency portfolio management tool wri ## Keys - `:open_exchange_key` - for querying currency data through [open exchange rates](https://openexchangerates.org/account/app-ids) + +## Getting started + +Once downloaded, follow these steps in order to get the app up and running on your local machine. + +- Install dependencies: + +``` +$ mix do deps.get, deps.compile +$ cd assets && npm install && node node_modules/brunch/bin/brunch build +``` + +- Change `Postgres` username in _/config/dev.exs_ to your own username. + +- Create the database: + +``` + $ mix ecto.create +``` + +- Migrate database: + +``` +$ mix ecto.migrate +``` + +- Start your server: + +``` +$ mix phx.server +``` + +You should now have the application running on port `4000`: _localhost:4000 From 019ff144ee84e770814a6379276de3f5b0ea54de Mon Sep 17 00:00:00 2001 From: cyzanfar Date: Thu, 1 Feb 2018 14:28:58 +0100 Subject: [PATCH 3/3] missing italicize formatting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb25337..3e51020 100644 --- a/README.md +++ b/README.md @@ -37,4 +37,4 @@ $ mix ecto.migrate $ mix phx.server ``` -You should now have the application running on port `4000`: _localhost:4000 +You should now have the application running on port `4000`: _localhost:4000_