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
fba38afc
Commit
fba38afc
authored
7 years ago
by
Hermann Schwärzler
Browse files
Options
Downloads
Patches
Plain Diff
update README to mention missing dependencies asf.
"syncdb" is deprecated: "migrate" is the command to create the DB.
parent
e0fe8623
No related branches found
No related tags found
1 merge request
!6
update README ...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+16
-4
16 additions, 4 deletions
README.rst
with
16 additions
and
4 deletions
README.rst
+
16
−
4
View file @
fba38afc
...
@@ -7,9 +7,15 @@ Installation
...
@@ -7,9 +7,15 @@ Installation
To get setup you must have the following installed:
To get setup you must have the following installed:
* Python 2.7
* MySQL-Client Development libraries
* JPEG library development files
* Python 2.7 including Development files
* virtualenv 1.11
* virtualenv 1.11
In Debian or Ubuntu (or derivatives) you should be able to achieve this with this command:
$ sudo apt-get install libmysqlclient-dev libjpeg-dev python2.7-dev virtualenv
Setting up the environment
Setting up the environment
--------------------------
--------------------------
...
@@ -20,7 +26,7 @@ Create a virtual environment where the dependencies will live::
...
@@ -20,7 +26,7 @@ Create a virtual environment where the dependencies will live::
$ source python/bin/activate
$ source python/bin/activate
(python)$
(python)$
I
nstall the project dependencies::
Change into the base directory of this software and i
nstall the project dependencies::
(python)$ pip install -r requirements.txt
(python)$ pip install -r requirements.txt
...
@@ -28,9 +34,15 @@ Install the project dependencies::
...
@@ -28,9 +34,15 @@ Install the project dependencies::
Setting up the database
Setting up the database
-----------------------
-----------------------
By default the project is set up to run on a SQLite database. You can run::
By default the project is set up to run on a SQLite database.
First edit pv/settings.py and change the line
SECRET_KEY = ''
such that there is a value for SECRET_KEY.
Then run::
(python)$ python manage.py
syncdb
(python)$ python manage.py
migrate
(python)$ python manage.py loaddata program/fixtures/*.yaml
(python)$ python manage.py loaddata program/fixtures/*.yaml
...
...
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