Skip to content

Applying update versions of leaf to a production environment. #494

Answered by mh2727
glabrie10 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Gabe.

To update with the latest Leaf code on GitHub, you'll also have to run the appropriate database migration scripts and rebuild the API on the server.

This workflow is needed to get the latest features and fixes from the Leaf source code.

Steps to update Leaf from source code:

  1. Pull updated version of leaf from the source repository.
  2. Run: npm run build. This will create a new build bundle, to be copied to the webserver.
  3. Copy new build folder to the webserver (/etc/www directory or where your web directory is located).
  4. Run the appropriate database migration scripts.
  5. Rebuild the API on the server.
  6. Start application and webserver.

Hope this clarifies the steps.

--
Mehadi Hassan

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@glabrie10
Comment options

@mh2727
Comment options

@glabrie10
Comment options

Answer selected by glabrie10
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants