Project | Technologies | Install | Commands |
Inamana is a API to manage restaurant products and your expiration dates.
The API send weekly an email for advising which products are nearby to expiration.
With this informations the restaurant manager can be plan your menu for the best utilization of your products.
This project use:
For install the Elixir Language view the official documentation.
In your favorite terminal type:
mix archive.install hex phx_new 1.5.8
You can install from here:
For install the PostgreSQL view th official documentation.
In your favorite terminal:
-
Clone this repository from Github
git clone https://github.com/MatheusMuriel/InMana.git
-
Entry in Inmana folder
cd Inmana
-
Install deps
mix deps.get
-
if your PostgreSQL is installed correctly, create Database structure and migrations
mix ecto.setup
-
Open Phoenix server
mix phx.server
-
Open interactive terminal
iex -S mix
-
Open Phoenix server
mix phx.server
-
Open Phoenix server with interactive terminal
iex -S mix phx.server
-
Execute tests
mix test