Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
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
AURA
steering
Commits
ba140e6d
Commit
ba140e6d
authored
5 years ago
by
Ingo Leindecker
Browse files
Options
Downloads
Patches
Plain Diff
Fixed readme.
parent
291e6c90
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
README.rst
+24
-19
24 additions, 19 deletions
README.rst
with
24 additions
and
19 deletions
README.rst
+
24
−
19
View file @
ba140e6d
...
...
@@ -44,7 +44,7 @@ Change into the base directory of this software and install the project dependen
(python)$ pip3 install -r requirements.txt
Setting up the
database
Setting up the
configuration
-----------------------
By default the project is set up to run on a SQLite database.
...
...
@@ -55,15 +55,6 @@ Create a file pv/local_settings.py and add at least the following line::
(obviously replacing "secret key" with a key of your choice).
Then run::
(python)$ python manage.py migrate
(python)$ python manage.py loaddata program/fixtures/*.yaml
Open pv/local_settings.py again and add the line::
USE_TZ = False
Setting up PostgreSQL
----------------
...
...
@@ -72,16 +63,16 @@ We recommend using PostgreSQL in order to be able to use the collation utf8mb64_
To use PostgreSQL, add the following to your local_settings.py (before migrating) and add your credentials::
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': '',
'USER': '',
'PASSWORD': '',
'HOST': 'localhost',
'PORT': '5432'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': '',
'USER': '',
'PASSWORD': '',
'HOST': 'localhost',
'PORT': '5432'
}
}
}
Setting up MySQL
...
...
@@ -111,6 +102,20 @@ Create a file pv/mysql.cnf and give your MySQL credentials::
default-character-set = utf8
Setting up the database
----------------
Then run::
(python)$ python manage.py migrate
(python)$ python manage.py loaddata program/fixtures/*.yaml
Open pv/local_settings.py again and add the line::
USE_TZ = False
Running a web server
--------------------
...
...
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