diff --git a/warden_server/README b/warden_server/README index 6c7c86660366923db21eb17c2764f645f335aae4..415afe3852c7acf65ad29925baf7c8c2763bc3cc 100644 --- a/warden_server/README +++ b/warden_server/README @@ -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