Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change username Postgres config for consistency and remove unnecessary… #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_
4 changes: 1 addition & 3 deletions config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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"