v0.1.2 #28
keybits
announced in
Announcements
v0.1.2
#28
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release changes deployment to fly.io quite significantly. Based on feedback from them we're making the first deploy use
fly launch
instead of the previously documented approach. The changes also set us up for more easily supporting your own domain / custom subdomains for a hosted version.If you're deploy PostOwl for the first time, follow the deployment documentation.
If you have an existing deployment and you want to keep the data in your database and reuse it, there's a bit of work to do as documented below. Sorry about this! We don't anticipate any more changes that would require this much work. In the future, updating will be a case of just a couple of commands.
How to upgrade an existing PostOwl installation for this releae.
Update
.env.production
with the new format from.env.production.example
Destroy your existing app and launch a replacment:
Respond to the prompts. You can reuse the appname you previously had or choose a new one. If you reuse the appname it can take an hour or two to be available again while DNS records sort themselves out.
fly launch
:In
fly.toml
after[base]
add:In
Dockerfile
, replaceRUN npm run build
withRUN mkdir /data && npm run build
Run
fly deploy
Restore your database:
You should now be up and running. In the future updaing will be just a couple of commands.
This discussion was created from the release v0.1.2.
Beta Was this translation helpful? Give feedback.
All reactions