Skip to content

Birdiy's server and website built with Elixir Phoenix and Absinthe

Notifications You must be signed in to change notification settings

ccmikechen/Birdiy-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Birdiy Server

Development

Start dev server

mix phx.server

Start dev server with iex console

iex -S mix.phx server

Deployment

Ping

mix edeliver ping [staging|production]

Check status

mix edeliver status [staging|production]

Build release

Production

env RELEASE_STORE=.deliver/releases/production/ BIRDIY_BUILD_HOST=birdiy-build-prd mix edeliver build release --tag=v0.x.x

Staging

env RELEASE_STORE=.deliver/releases/staging/ BIRDIY_BUILD_HOST=birdiy-build-stg mix edeliver build release --tag=v0.x.x

Deploy release

Production

env RELEASE_STORE=.deliver/releases/production/ mix edeliver deploy release to production --version=0.x.x

Staging

env RELEASE_STORE=.deliver/releases/staging/ mix edeliver deploy release to staging --version=0.x.x

Build upgrade

Production

env RELEASE_STORE=.deliver/releases/production/ BIRDIY_BUILD_HOST=birdiy-build-prd mix edeliver build upgrade --with=0.x.x --to=v0.x.x

Staging

env RELEASE_STORE=.deliver/releases/staging/ BIRDIY_BUILD_HOST=birdiy-build-stg mix edeliver build upgrade --with=0.x.x --to=v0.x.x

Deploy upgrade

Production

env RELEASE_STORE=.deliver/releases/production/ mix edeliver deploy upgrade to production --version=0.x.x

Staging

env RELEASE_STORE=.deliver/releases/staging/ mix edeliver deploy release to staging --version=0.x.x

After deployment

  • Do copy /home/deploy/apps/birdiy/releases/start_erl.data to /home/deploy/apps/birdiy/var/start_erl.data or just delete the latter one, it would genereate a correct one automatically. edeliver/edeliver#314

About

Birdiy's server and website built with Elixir Phoenix and Absinthe

Resources

Stars

Watchers

Forks

Packages

No packages published