Skip to content

Coruja-Digital/PETAL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PETAL stack

This is a PETAL stack seed for your projects. It has already included inside Tailwind and AlpineJS. As an extra, it also contains bakeware, so you may release your phoenix app as a self contained binary.

To start your Phoenix server:

  • Install Phoenix and Node.js dependencies with mix setup
  • 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.

To build a release:

  • Run MIX_ENV=prod mix release

It will guide you and tell you where your release is located.

Environment variables

The project is built to be configurable using environment variables. Currently we use these:

  • "APPLE_MOBILE_WEB_APP_STATUS_BAR_STYLE"
  • "DATABASE_URL"
  • "ERLANG_COOKIE"
  • "HOSTNAME"
  • "LANGUAGE"
  • "LV_SIGNING_SALT"
  • "MIX_TEST_PARTITION"
  • "MSAPPLICATION_TILECOLOR"
  • "OG_DESCRIPTION"
  • "OG_TITLE"
  • "PGDATABASE"
  • "PGHOST"
  • "PGPASSWORD"
  • "PGPORT"
  • "PGUSER"
  • "POOL_SIZE"
  • "PORT"
  • "SECRET_KEY_BASE"
  • "SSL_CERT_PATH"
  • "SSL_KEY_PATH"
  • "SSL_PORT"
  • "TEST_PORT"
  • "THEME_COLOR"
  • "TITLE"

About

PETAL stack project template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 79.6%
  • HTML 7.6%
  • CSS 7.4%
  • JavaScript 4.9%
  • SCSS 0.5%