From e05edbbd1ff749ba6f168322ea30539f33361f61 Mon Sep 17 00:00:00 2001 From: dsrev Date: Mon, 3 Aug 2020 11:01:37 +0300 Subject: [PATCH] Added a new item to the installation procedure I completely forgot to mention commitcaptcha, which is necessary for the captcha to work during user registration. --- INSTALL.txt | 15 +++++++++------ README.textile | 7 +++++-- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/INSTALL.txt b/INSTALL.txt index 0c179966..22d1e9cb 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -1,12 +1,15 @@ OpenVK Install Instructions ----------- 1) Install Composer, Node.js, Yarn and Chandler (https://github.com/openvk/chandler) -2) Import install/init-static-db.sql to same db you installed Chandler to -3) Import install/init-event-db.sql to separate db -4) Rename openvk-example.yml to openvk.yml and change options -5) Run "composer install" in OpenVK directory -6) Move to Web/static/js and execute "yarn install" -7) Set openvk as your root app in chandler.yml +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 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/README.textile b/README.textile index 99b07277..c19d0650 100644 --- a/README.textile +++ b/README.textile @@ -18,8 +18,11 @@ If you want, you can add your instance to the list above so that people can regi h3. Installation procedure # Install Composer, Node.js, Yarn and "Chandler":https://github.com/openvk/chandler -# Import install/init-static-db.sql to *same db* you installed Chandler to -# Import install/init-event-db.sql to *separate db* +# 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@