/orb_showcase

Demos of Orb running in Phoenix

Primary LanguageElixir

OrbShowcase

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:8344 from your browser.

Production deploy

Ready to run in production? Please check our deployment guides.

# Caddy public server
cd /root
micro Caddyfile
caddy fmt --overwrite
caddy reload

# Elixir application
cd /var/www/orb_showcase
git pull --rebase

# Regenerate systemd and bin scripts
MIX_ENV=prod mix systemd.generate
MIX_ENV=prod mix deploy.generate

# Change environment
micro config/environment
bin/deploy-copy-files

# Release new version
mix deps.get
npm ci --prefix assets/
mix assets.deploy
MIX_ENV=prod mix release --overwrite
bin/deploy-release
bin/deploy-restart

systemctl status orb-showcase.service

Learn more