phoenix-svelte-template Svelte Themes

Phoenix Svelte Template

Template for creating phoenix/svelte web applications using containers.

Phoenix/Svelt template project

Requirements

  • nerdctl or docker (not tested with docker yet.)
  • task

Usage

  1. Select Use this template on the GitHub page.
  2. Change config.env to fit our purposes. (Such as APP_NAME to the name of your app.)
  3. Run task up to start the server and generate your initial project.
  4. Visit localhost:4000 or something different depending on how you changed config.env

A directory will be crated with your project name that you specified with APP_NAME in config.env that will contain all our source code.

Notes

  • See available tasks with task --list
  • View logs of the server container with task logs
  • Get shell access to the container with task shell
  • Stop the currently running server container with task down
  • Stop the server container, remove the containers and volumes (does not affect your source code.) task remove

Top categories

Loading Svelte Themes