Parseroo is your partner when integrating with customers. Parseroo parses and adapts the payload from different providers in a fast and concurrent way.
To install Elixir on your local environment you can use the ASDF manager.
To install the version being used by this project you can use the asdf install
command.
To create an instance of the PostgreSQL you will need the docker-compose installed and then you can run the docker-compose up db -d
command.
Note: the -d
option is to run the container on the background. You can see more about the docker-compose up
command in the documentation.
Note: the db
option is to only run database container.
Then, you should execute the mix ecto.setup
command to create the application database, run the migrations, and seed data.
Note: the test database will be created when you first run the mix test
command.
mix ecto.setup
with MIX_ENV=test
. Since the task inserts data into the database, it won't be clean when the tests run, generating failures.
To start your Phoenix server:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Install Node.js dependencies with
npm install --prefix assets
- Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
- If you already have docker installed just run
docker-compose up
- To run commands (like seeds) inside the container run
docker-compose run parseroo /bin/bash
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix