Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSWeb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
VIPS
VIPSWeb
Commits
4fff72f5
Commit
4fff72f5
authored
4 years ago
by
Tor-Einar Skog
Browse files
Options
Downloads
Patches
Plain Diff
More documentation
parent
a060e369
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!8
Upgrade to django 3.1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+46
-3
46 additions, 3 deletions
README.md
with
46 additions
and
3 deletions
README.md
+
46
−
3
View file @
4fff72f5
# VIPSWeb
This is the code for the public webpage for VIPS. It should be adaptable
This is the code for the public webpage for VIPS. It should be adaptable
enough to suit many organizations.
enough to suit many organizations.
The programming language is Python >= 3.6 and the web framework is currently Django 3.1
Running with mod_wsgi
## Requirements
The system has been tested and found to run well on Ubuntu >= 18
*
The programming language is Python >= 3.6
*
The web framework is currently Django 3.1
*
Apache web server with mod_wsgi compiled for Python 3
If running on e.g. Ubuntu 18, please remember to install the libapache2-mod-wsgi-py3 and not the libapache2-mod-wsgi package
## Install and setup
\ No newline at end of file
1.
Install and activate a virtual Python environment
```
python3 -m venv my_venv
source my_env/bin/activate
```
2.
Install all the requirements into the virtual environment.
Remember to be in the folder where the requirements.txt file is
```
pip install -r requirements.txt
```
3.
Run all database migrations
```
./manage.py migrate
```
## Running with mod_wsgi
*
If running on e.g. Ubuntu 18, please remember to install the
`libapache2-mod-wsgi-py3`
and not the
`libapache2-mod-wsgi`
package
*
Here's an example mod_wsgi configuration in an Apache2 virtualhost
```
WSGIDaemonProcess vipsweb python-path=/opt/VIPSWeb/VIPSWeb python-home=/opt/VIPSWeb/py3dj3
WSGIProcessGroup vipsweb
WSGIScriptAlias / /opt/VIPSWeb/VIPSWeb/VIPSWeb/wsgi.py
<Directory /opt/VIPSWeb/VIPSWeb/VIPSWeb>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
```
\ No newline at end of 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