No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apps
config
.env.example
.gitignore
README.md
circle.yml
circle_pre_build.sh
elixir_buildpack.config
mix.exs
mix.lock
under_the_umbrella.pdf

README.md

Pharos

CircleCI

Welcome to the Pharos Application.

Running Locally

You need to have Elixir 1.4 installed, and postgres

Clone the repository:

git clone git@github.com:Maikon/pharos.git

Navigate to the root directory:

cd pharos

Install dependencies:

mix deps.get

Compile the code:

mix compile

Build the development database:

mix ecto.create
mix ecto.migrate

Build the test database:

MIX_ENV=test mix ecto.create
MIX_ENV=test mix ecto.migrate

Run the tests:

mix test

Start the server in interactive mode:

iex -S mix phoenix.server

Navigate to home url:

https://localhost:4000

Services which require authentication

Before running the application:

Copy the .env-example to .env:

cp .env-example .env

Add the keys you require for the api you are using. Some example twitter keys are in place as an example.

Source the .env file:

source .env