Skip to content
Snippets Groups Projects
Commit 95232b51 authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Move information about migration to a separate section

parent 8b9c190c
Branches hruska-feature-clients-api
No related tags found
No related merge requests found
......@@ -7,8 +7,9 @@ Content
A. Introduction
B. Dependencies
C. Installation
D. Configuration
E. Command line
D. Upgrading
E. Configuration
F. Command line
------------------------------------------------------------------------------
A. Introduction
......@@ -84,14 +85,6 @@ C. Installation
psql -U warden -h localhost warden3 < warden_3.0_postgres.sql
* Migrate the database
mysql -p -u warden warden3 < migrations/mysql/add_managed_flag.sql
or
psql -U warden -h localhost warden3 < migrations/postgres/add_managed_flag.sql
* Get up to date Idea schema
wget -O warden_server/idea.schema https://idea.cesnet.cz/_media/en/idea0.schema
......@@ -128,7 +121,19 @@ C. Installation
* Reload Apache
------------------------------------------------------------------------------
D. Configuration
D. Upgrading
* When upgrading from Warden 3.0, run the following migrations:
mysql -p -u warden warden3 < migrations/mysql_migration_0001_upgrade_add_manage_flag.sql
or
psql -U warden -h localhost warden3 < migrations/postgresql_migration_0001_upgrade_add_manage_flag.sql
------------------------------------------------------------------------------
E. Configuration
Configuration is JSON object in file (warden_server.cfg by default),
however, lines starting with "#" or "//" are allowed and will be ignored as
......@@ -232,7 +237,7 @@ object from particular section list is used ("FileLogger" for example).
description: human readable description, sent in server info
------------------------------------------------------------------------------
E. Command line
F. Command line
When run from command line, server offers set of commands and options for
runtime and database management. You can also use --help option for each
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment