Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Keel - LDH Middleware
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
26
Issues
26
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liberty
host
Keel - LDH Middleware
Commits
130d88bf
Commit
130d88bf
authored
Jun 20, 2017
by
David Seaward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update to Django 1.11 (see #4)
parent
83ae3149
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
4 deletions
+20
-4
README.md
README.md
+18
-2
requires/requirements.txt
requires/requirements.txt
+2
-2
No files found.
README.md
View file @
130d88bf
...
...
@@ -19,7 +19,7 @@ Prerequisites
*
`libssl-dev`
*
`python3-dev`
*
Python/Django packages: see
`requires/requirements.txt`
*
Includes Django 1.1
0
*
Includes Django 1.1
1
Other versions and alternatives may work but are untested.
...
...
@@ -36,7 +36,7 @@ Setup
*
Set up virtualenv
*
Create virtualenv in project folder (
`virtualenv . --python=python3`
)
*
Activate virtualenv (
`./bin/activate.py`
)
*
Install Python packages (
`pip install -
r
requires/requirements.txt`
)
*
Install Python packages (
`pip install -
-requirement
requires/requirements.txt`
)
*
Complete Django settings
*
`cp ./conf/etc/config.ini /etc/opt/purist_account/`
*
`cp ./conf/etc/secret.ini /etc/opt/purist_account/`
...
...
@@ -55,6 +55,22 @@ Setup
For more options and details see
<https://docs.djangoproject.com/en/1.11/#the-development-process>
Update
------
*
Stop site
*
Update packages with
`apt update && apt upgrade`
*
Update code in
`/opt/purist_account/`
*
Update settings in
`/etc/opt/purist_account/`
*
Update virtualenv:
*
Activate virtualenv (
`./bin/activate.py`
)
*
Update Python packages (
`pip install --requirement requires/requirements.txt`
)
*
Do not use
`pip install --update`
as this will not respect requirements
*
Update site:
*
Run
`./manage.py collectstatic`
*
Run
`./manage.py migrate`
(see
**Migrations**
below)
*
Start site
Migrations
----------
...
...
requires/requirements.txt
View file @
130d88bf
Django==1.1
0.7
Django==1.1
1.2
django-auth-ldap==1.2.12
django-ldapdb==0.
8
.0
django-ldapdb==0.
9
.0
django-registration==2.2
Jinja2==2.9.6
jinja2-django-tags==0.5
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment