Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Giger
funkwhale
Commits
a8e43610
Verified
Commit
a8e43610
authored
6 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Fix #132: better upgrading instructions for frontend files on docker
parent
60608c03
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
changes/changelog.d/132.doc
+1
-0
1 addition, 0 deletions
changes/changelog.d/132.doc
docs/installation/index.rst
+6
-0
6 additions, 0 deletions
docs/installation/index.rst
docs/upgrading.rst
+26
-23
26 additions, 23 deletions
docs/upgrading.rst
with
33 additions
and
23 deletions
changes/changelog.d/132.doc
0 → 100644
+
1
−
0
View file @
a8e43610
Up-to-date documentation for upgrading front-end files on docker setup (#132)
This diff is collapsed.
Click to expand it.
docs/installation/index.rst
+
6
−
0
View file @
a8e43610
...
@@ -74,6 +74,12 @@ We also maintain an installation guide for Debian 9.
...
@@ -74,6 +74,12 @@ We also maintain an installation guide for Debian 9.
Frontend setup
Frontend setup
---------------
---------------
.. note::
You do not need to do this if you are deploying using Docker, as frontend files
are already included in the docker image.
Files for the web frontend are purely static and can simply be downloaded, unzipped and served from any webserver:
Files for the web frontend are purely static and can simply be downloaded, unzipped and served from any webserver:
.. parsed-literal::
.. parsed-literal::
...
...
This diff is collapsed.
Click to expand it.
docs/upgrading.rst
+
26
−
23
View file @
a8e43610
...
@@ -17,29 +17,9 @@ Please take a few minutes to read the :doc:`changelog`: updates should work
...
@@ -17,29 +17,9 @@ Please take a few minutes to read the :doc:`changelog`: updates should work
similarly from version to version, but some of them may require additional steps.
similarly from version to version, but some of them may require additional steps.
Those steps would be described in the version release notes.
Those steps would be described in the version release notes.
Upgrade the static files
------------------------
Regardless of your deployment choice (docker/non-docker) the front-end app
is updated separately from the API. This is as simple as downloading
the zip with the static files and extracting it in the correct place.
The following example assume your setup match :ref:`frontend-setup`.
.. parsed-literal::
# this assumes you want to upgrade to version "|version|"
export FUNKWHALE_VERSION="|version|"
cd /srv/funkwhale
curl -L -o front.zip "https://code.eliotberriot.com/funkwhale/funkwhale/builds/artifacts/$FUNKWHALE_VERSION/download?job=build_front"
unzip -o front.zip
rm front.zip
Upgrading the API
-----------------
Docker setup
Docker setup
^^^^^^^^^^^^
------------
If you've followed the setup instructions in :doc:`Docker`, upgrade path is
If you've followed the setup instructions in :doc:`Docker`, upgrade path is
easy:
easy:
...
@@ -57,10 +37,33 @@ easy:
...
@@ -57,10 +37,33 @@ easy:
# Relaunch the containers
# Relaunch the containers
docker-compose up -d
docker-compose up -d
Non-docker setup
Non-docker setup
^^^^^^^^^^^^^^^^
----------------
Upgrade the static files
^^^^^^^^^^^^^^^^^^^^^^^^
On non-docker setups, the front-end app
is updated separately from the API. This is as simple as downloading
the zip with the static files and extracting it in the correct place.
The following example assume your setup match :ref:`frontend-setup`.
.. parsed-literal::
# this assumes you want to upgrade to version "|version|"
export FUNKWHALE_VERSION="|version|"
cd /srv/funkwhale
curl -L -o front.zip "https://code.eliotberriot.com/funkwhale/funkwhale/builds/artifacts/$FUNKWHALE_VERSION/download?job=build_front"
unzip -o front.zip
rm front.zip
Upgrading the API
^^^^^^^^^^^^^^^^^
On non
docker
-setup
, upgrade involves a few more commands. We assume your setup
On non
-
docker, upgrade involves a few more commands. We assume your setup
match what is described in :doc:`debian`:
match what is described in :doc:`debian`:
.. parsed-literal::
.. parsed-literal::
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment