diff --git a/README.textile b/README.textile index 96008e38..e89ecb43 100644 --- a/README.textile +++ b/README.textile @@ -25,20 +25,16 @@ h3. Installation procedure "samukhin":https://github.com/samukhin is working on a Docker container that contains a microblog version of OpenVK, see "#76":https://github.com/openvk/openvk/pull/76 for details. (Experimental) -1. Install Composer, Node.js, Yarn and "Chandler":https://github.com/openvk/chandler -2. Install "commitcaptcha":https://github.com/openvk/commitcaptcha and OpenVK as Chandler extensions and enable them like this: - - -ln -s /path/to/chandler/extensions/available/commitcaptcha /path/to/chandler/extensions/enabled/ -ln -s /path/to/chandler/extensions/available/openvk /path/to/chandler/extensions/enabled/ - - -3. Import install/init-static-db.sql to *same database* you installed Chandler to -4. Import install/init-event-db.sql to *separate database* -5. Rename openvk-example.yml to openvk.yml and change options -6. Run @composer install@ in OpenVK directory -7. Move to Web/static/js and execute @yarn install@ -8. Set openvk as your root app in chandler.yml +# Install Composer, Node.js, Yarn and "Chandler":https://github.com/openvk/chandler +# Install "commitcaptcha":https://github.com/openvk/commitcaptcha and OpenVK as Chandler extensions and enable them like this: +@ln -s /path/to/chandler/extensions/available/commitcaptcha /path/to/chandler/extensions/enabled/@ +@ln -s /path/to/chandler/extensions/available/openvk /path/to/chandler/extensions/enabled/@ +# Import install/init-static-db.sql to *same database* you installed Chandler to +# Import install/init-event-db.sql to *separate database* +# Rename openvk-example.yml to openvk.yml and change options +# Run @composer install@ in OpenVK directory +# Move to Web/static/js and execute @yarn install@ +# Set openvk as your root app in chandler.yml Once you are done, you can login as a system administrator on the network itself (no registration required): * *Login*: admin@localhost.localdomain6 diff --git a/install/init-static-db.sql b/install/init-static-db.sql index 78b5e64a..38160dc7 100644 --- a/install/init-static-db.sql +++ b/install/init-static-db.sql @@ -301,6 +301,19 @@ CREATE TABLE subscriptions_new ( `updated` bigint(20) UNSIGNED NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; +CREATE TABLE subscriptions_new ( + `handle` bigint(20) UNSIGNED NOT NULL, + `initiator` bigint(20) UNSIGNED NOT NULL, + `targetModel` varchar(128) COLLATE utf8mb4_unicode_nopad_ci NOT NULL, + `targetId` bigint(20) NOT NULL, + `targetWallHandle` bigint(20) NOT NULL, + `shortStatus` tinyint(3) UNSIGNED NOT NULL DEFAULT 1, + `detailedStatus` tinyint(3) UNSIGNED NOT NULL DEFAULT 1, + `listName` varchar(64) COLLATE utf8mb4_unicode_nopad_ci DEFAULT NULL, + `created` bigint(20) UNSIGNED NOT NULL, + `updated` bigint(20) UNSIGNED NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_nopad_ci; + CREATE TABLE `tickets` ( `id` bigint(20) UNSIGNED NOT NULL, `type` bigint(20) UNSIGNED NOT NULL,