/smart-garden

Phoenix/Elixir web app that renders a React.js frontend to manage a garden remotely

Primary LanguageElixir

SmartGarden

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with cd assets && npm install
  • 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.

Docker

docker run --name postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_USER=postgres -e POSTGRES_DB=smart_garden_dev -p 127.0.0.1:5432:5432 -d postgres

Learn more