Skip to content

Instantly share code, notes, and snippets.

@Voronoff
Last active April 19, 2019 22:54
Show Gist options
  • Save Voronoff/29339a72e283129c10e9f068514457dc to your computer and use it in GitHub Desktop.
Save Voronoff/29339a72e283129c10e9f068514457dc to your computer and use it in GitHub Desktop.

To start your Phoenix server from the root folder of your application:

  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment