Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Postal Owl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Postal Owl
Postal Owl
Commits
81fd727c
Project 'mj/owl' was moved to 'owl/owl'. Please update any links and bookmarks that may still have the old path.
Commit
81fd727c
authored
1 month ago
by
Martin Mareš
Browse files
Options
Downloads
Patches
Plain Diff
README: How to run a test instance
parent
05c4a8dc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+18
-1
18 additions, 1 deletion
README.md
with
18 additions
and
1 deletion
README.md
+
18
−
1
View file @
81fd727c
...
...
@@ -11,7 +11,7 @@ The Owl was written by Martin Mareš <mj@ucw.cz>.
## License
The whole package is (c) 2020-202
4
Martin Mareš.
The whole package is (c) 2020-202
5
Martin Mareš.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
...
...
@@ -34,3 +34,20 @@ Owl's repository contains embedded copies of several libraries:
-
Swagger in
`static/swagger/`
, which is an official release obtained
from https://github.com/swagger-api/swagger-ui/.
## Running a test instance
First of all, install PostgreSQL, create a user and a database and initialize
the database using db/db.ddl.
Then copy etc/config.py.example to owl/config.py and edit parameters of the
database connection.
Create a Python virtual environment, activate it and run "pip install -e .".
Create a user with administrator rights using "bin/flask create-user --admin ...".
Run the web application using "bin/flask run".
Create more users and courses using sub-commands of bin/flask ("--help" works).
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