Skip to content

Latest commit

 

History

139 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmpiriApi

Development Setup

First download and set up dependencies:

  • postgresql
  • erlang
  • elixir
  • phoenix

setup dev.exs config file:

$ cp config/dev.exs.example config/dev.exs

Install mix dependencies:

$ mix deps.get

Set up database config files:

# dev.exs
# test.exs
# prod.exs

Create and migrate the database:

$ mix ecto.create
$ mix ecto.migrate

Create and migrate the test database:

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

Run the application:

$ PORT=4000 mix phoenix.server

Run an interactive console:

$ PORT=4001 iex -S mix phoenix.server

Run the tests:

$ mix test

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages