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
Container Registry
Model registry
Operate
Environments
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
Mélanie Chauvel
funkwhale
Commits
b50e3465
Verified
Commit
b50e3465
authored
6 years ago
by
wxcafé
Browse files
Options
Downloads
Patches
Plain Diff
fixes pip3/python3 inside virtualenv and re-creation of directories
parent
e3de7306
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/installation/debian.rst
+11
-7
11 additions, 7 deletions
docs/installation/debian.rst
with
11 additions
and
7 deletions
docs/installation/debian.rst
+
11
−
7
View file @
b50e3465
...
...
@@ -113,8 +113,12 @@ Then we'll download the frontend files:
cd /srv
rm -r funkwhale
git clone https://code.eliotverriot.com/funkwhale/funkwhale funkwhale
cd funkwale
git clone https://code.eliotberriot.com/funkwhale/funkwhale funkwhale
cd funkwhale
You'll also need to re-create the folders we make earlier:
mkdir -p config data/static data/media data/music front
You will still need to get the frontend files as specified before, because
we're not going to build them.
...
...
@@ -183,7 +187,7 @@ Finally, install the python dependencies:
.. code-block:: shell
pip
3
install -r api/requirements.txt
pip install -r api/requirements.txt
.. important::
...
...
@@ -239,7 +243,7 @@ You should now be able to import the initial database structure:
.. code-block:: shell
python
3
api/manage.py migrate
python api/manage.py migrate
This will create the required tables and rows.
...
...
@@ -264,13 +268,13 @@ You can then create your first user account:
.. code-block:: shell
python
3
api/manage.py createsuperuser
python api/manage.py createsuperuser
If you ever want to change a user's password from the command line, just run:
.. code-block:: shell
python
3
api/manage.py changepassword <user>
python api/manage.py changepassword <user>
Collect static files
--------------------
...
...
@@ -280,7 +284,7 @@ We need to collect them explicitly, so they can be served by the webserver:
.. code-block:: shell
python
3
api/manage.py collectstatic
python api/manage.py collectstatic
This should populate the directory you choose for the ``STATIC_ROOT`` variable
in your ``.env`` file.
...
...
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