A Phoenix application built with the Ash Framework.
Before you begin, ensure you have the following installed on your local machine:
- Elixir & Mix
- Node.js & npm
- Docker
Follow these steps to get your development environment set up and running.
git clone <your-repo-url>
cd blesterThis project requires a PostgreSQL database. You can easily run one using Docker:
docker run --name blester-postgres -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgresThis command starts a PostgreSQL container named blester-postgres and makes it available on localhost:5432.
Install the Elixir and JavaScript dependencies:
# Install Elixir dependencies
mix deps.get
# Install Node.js dependencies
npm install --prefix assetsCreate the database and run the initial migrations using the custom Ash task:
mix ash.setupNow you can start the Phoenix server:
mix phx.serverYour application should now be running at http://localhost:4000.
- Official Phoenix website: https://www.phoenixframework.org/
- Phoenix Guides: https://hexdocs.pm/phoenix/overview.html
- Ash Framework: https://ash-hq.org/
- AshPostgres: https://hexdocs.pm/ash_postgres/