Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
grady
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
Jan Maximilian Michal
grady
Commits
c571de19
There was a problem fetching the pipeline summary.
Commit
c571de19
authored
7 years ago
by
Jan Maximilian Michal
Browse files
Options
Downloads
Patches
Plain Diff
Updated README
parent
a17b5184
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+32
-12
32 additions, 12 deletions
README.rst
with
32 additions
and
12 deletions
README.rst
+
32
−
12
View file @
c571de19
...
...
@@ -11,31 +11,52 @@ Installing
To set up a new instance perform the following steps:
#. Create a virtual environment with a Python3.6 interpreter and activate it.
It works like this::
virtualenv -p python3.6 env
source env/bin/activate
Just type ``deactivate`` the get out.
#. Set the environment variable ``DJANGO_DEV`` to ``True`` like this::
export DJANGO_DEV=True
#. Install dependencies::
pip install -r requirements.txt
yarn install --modules-folder core/static/node_modules
pip install -r requirements.txt
yarn install --modules-folder core/static/node_modules
or alternatively with the make task::
or alternatively with the make task::
make install
ma
ke install
#. Set up a Postgres 9.5 database. If you have doc
ke
r
install
ed the easiest way is to just run it in a docker container, like this::
#. Set up the database.
docker run --rm --name postgres -p 5432:5432 postgres:9.5
If you are running a local instance for development purposes you
may just run::
And apply database migrations::
python manage.py migrate
python manage.py loaddata core/fixtures/testdata-groups.json
#. Create a superuser if necessary::
python manage.py createsuperuser
python manage.py createsuperuser
#. Your instance should now be ready to be filled with real data. If you just
need some basic examples you can load them with::
More users can be added in the admin interface. You should be able to reach it via http://localhost:8000/admin.
#. Everything is set. You can start the development server with::
python3 manage.py runserver
or just::
make run
#. Reliable test data will follow soon (promise).
make loadexamples
Overview
========
...
...
@@ -55,4 +76,3 @@ Grady has three basic functions for the three types of users
+ review their final feedback and score in the post exam review
An overview over the database can be found in the docs folder.
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