A minimalist tool to find nearby hospital beds efficiently.
Need following thing to install in Computer
- Installed Elixir 1.10.3
- Installed Erlang OTP 22 or more. You will find the description of installing Erlang in Elixir Installation
- Installed Phoenix Framework 1.5.3
- Installed PostgreSQL
- Installed Node.js
- Installed inotify-tools (for linux users)
- If any of package download or install won't match with your destro. Search online for better way.
To start your Phoenix server:
- Install dependencies with
mix deps.get
- Create new .env file with
cp .env.example .env
- Put the
DB_USER
andDB_PASSWORD
values in.env
- Load the
.env
values withsource .env
- Create and migrate your database with
mix ecto.setup
- Install Node.js dependencies with
npm install
inside theassets
directory - 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.
- 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