mirror of
https://github.com/openvk/openvk
synced 2024-11-14 02:59:12 +03:00
Fixed the installation procedure a bit
This commit is contained in:
parent
d6eec76f2c
commit
2f8ff1f407
3 changed files with 29 additions and 21 deletions
19
INSTALL.txt
19
INSTALL.txt
|
@ -1,9 +1,14 @@
|
||||||
OpenVK Install Instructions
|
OpenVK Install Instructions
|
||||||
-----------
|
-----------
|
||||||
1) Import OVK DB
|
1) Install Composer, Node.js, Yarn and Chandler (https://github.com/openvk/chandler)
|
||||||
2) Import OVK EventDB to MySQL (you can also use Ya.Clickhouse lul)
|
2) Import install/init-static-db.sql to same db you installed Chandler to
|
||||||
3) Set up dependencies with composer
|
3) Import install/init-event-db.sql to separate db
|
||||||
4) Set up dependencies with yarn (Web/static/js)
|
4) Rename openvk-example.yml to openvk.yml and change options
|
||||||
5) Create new user and give him admin permissions
|
5) Run "composer install" in OpenVK directory
|
||||||
6) ???
|
6) Move to Web/static/js and execute "yarn install"
|
||||||
7) Profit!
|
7) 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
|
||||||
|
- Password: admin
|
||||||
|
It is recommended to change the password before using the built-in account.
|
||||||
|
|
|
@ -3,25 +3,33 @@ h1. OpenVK 2
|
||||||
*OpenVK* is an attempt to create a simple CMS that -cosplays- imitates old VK. Code provided here is not stable yet.
|
*OpenVK* is an attempt to create a simple CMS that -cosplays- imitates old VK. Code provided here is not stable yet.
|
||||||
To be honest, we don't even know whether it even works. However, this version (unlike classic) is maintained and we will be happy to accept your bugreports "in our bug-tracker":http://jirakitsu.wormixtest.ru/projects/OVK/issues/. You should also be able to submit them using "ticketing system":https://openvk2.veselcraft.ru/support?act=new (you will need an OVK account for this).
|
To be honest, we don't even know whether it even works. However, this version (unlike classic) is maintained and we will be happy to accept your bugreports "in our bug-tracker":http://jirakitsu.wormixtest.ru/projects/OVK/issues/. You should also be able to submit them using "ticketing system":https://openvk2.veselcraft.ru/support?act=new (you will need an OVK account for this).
|
||||||
|
|
||||||
|
h2. Instances
|
||||||
|
|
||||||
|
* *"openvk2.veselcraft.ru":https://openvk2.veselcraft.ru/*
|
||||||
|
* "openvk.dsrev.ru":https://openvk.dsrev.ru/
|
||||||
|
|
||||||
h2. Can I create my own OpenVK instance?
|
h2. Can I create my own OpenVK instance?
|
||||||
|
|
||||||
Yes. And you're very welcome to.
|
Yes! And you're very welcome to.
|
||||||
However, OVK makes use of Chandler Application Server. This software requires extensions, that may not be provided by your hosting provider (namely, sodium and yaml. this extensions are available on most of ISPManager hostings).
|
However, OVK makes use of Chandler Application Server. This software requires extensions, that may not be provided by your hosting provider (namely, sodium and yaml. this extensions are available on most of ISPManager hostings).
|
||||||
Simply put, we would recommend you to use latest CentOS (running on your own VDS/Dedicated) with latest PHP from EPEL. We use this configuration on our "testing instance":https://openvk2.veselcraft.ru/ and thus will be able to provide quicker support for OVK running in this environment.
|
Simply put, we would recommend you to use latest CentOS (running on your own VDS/Dedicated) with latest PHP from EPEL. We use this configuration on our "testing instance":https://openvk2.veselcraft.ru/ and thus will be able to provide quicker support for OVK running in this environment.
|
||||||
|
If you want, you can add your instance to the list above so that people can register there.
|
||||||
|
|
||||||
h3. Installation procedure
|
h3. Installation procedure
|
||||||
|
|
||||||
# Install Composer
|
# Install Composer, Node.js, Yarn and "Chandler":https://github.com/openvk/chandler
|
||||||
# Install Node.js
|
|
||||||
# Install Yarn
|
|
||||||
# Install Chandler
|
|
||||||
# Import install/init-static-db.sql to *same db* you installed Chandler to
|
# Import install/init-static-db.sql to *same db* you installed Chandler to
|
||||||
# Import install/init-event-db.sql to *separate db*
|
# Import install/init-event-db.sql to *separate db*
|
||||||
# Rename openvk-example.yml to openvk.yml and change options
|
# Rename openvk-example.yml to openvk.yml and change options
|
||||||
# Run %composer install% in OpenVK directory
|
# Run @composer install@ in OpenVK directory
|
||||||
# Move to Web/static/js and execute %yarn install%
|
# Move to Web/static/js and execute @yarn install@
|
||||||
# Set openvk as your root app in chandler.yml
|
# 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
|
||||||
|
* *Password*: admin
|
||||||
|
It is recommended to change the password before using the built-in account.
|
||||||
|
|
||||||
h3. Can I upgrade my OpenVK Classic installation?
|
h3. Can I upgrade my OpenVK Classic installation?
|
||||||
|
|
||||||
Right now not. But we will add upgrading script soon.
|
Right now not. But we will add upgrading script soon.
|
||||||
|
@ -45,8 +53,3 @@ You may reach out to us via:
|
||||||
h2. Release. When.
|
h2. Release. When.
|
||||||
|
|
||||||
February 2021?
|
February 2021?
|
||||||
|
|
||||||
h2. Instances
|
|
||||||
|
|
||||||
* *"openvk2.veselcraft.ru":https://openvk2.veselcraft.ru/*
|
|
||||||
* "openvk.dsrev.ru":https://openvk.dsrev.ru/
|
|
||||||
|
|
|
@ -236,7 +236,7 @@ CREATE TABLE `profiles` (
|
||||||
`fav_quote` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
`fav_quote` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||||
`city` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
`city` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||||
`address` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
`address` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||||
`style` int(30) DEFAULT 0,
|
`style` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT 'ovk',
|
||||||
`style_avatar` int(30) DEFAULT 0,
|
`style_avatar` int(30) DEFAULT 0,
|
||||||
`show_rating` tinyint(1) DEFAULT 1,
|
`show_rating` tinyint(1) DEFAULT 1,
|
||||||
`milkshake` tinyint(1) NOT NULL DEFAULT 0,
|
`milkshake` tinyint(1) NOT NULL DEFAULT 0,
|
||||||
|
@ -474,4 +474,4 @@ INSERT INTO `ChandlerGroups` VALUES ("a8ced6a3-49d8-11ea-bf2f-424d781d39ac", "OV
|
||||||
|
|
||||||
INSERT INTO `ChandlerACLRelations` VALUES ("ffffffff-ffff-ffff-ffff-ffffffffffff", "a8ced6a3-49d8-11ea-bf2f-424d781d39ac", 16);
|
INSERT INTO `ChandlerACLRelations` VALUES ("ffffffff-ffff-ffff-ffff-ffffffffffff", "a8ced6a3-49d8-11ea-bf2f-424d781d39ac", 16);
|
||||||
|
|
||||||
INSERT INTO `profiles` (`id`, `user`, `first_name`, `last_name`, `pseudo`, `info`, `about`, `status`, `privacy`, `left_menu`, `sex`, `type`, `phone`, `email`, `coins`, `since`, `block_reason`, `verified`, `reputation`, `shortcode`, `registering_ip`, `online`, `birthday`, `hometown`, `polit_views`, `marital_status`, `email_contact`, `telegram`, `interests`, `fav_music`, `fav_films`, `fav_shows`, `fav_books`, `fav_quote`, `city`, `address`, `style`, `style_avatar`, `show_rating`, `milkshake`, `notification_offset`, `deleted`) VALUES ('1', 'ffffffff-ffff-ffff-ffff-ffffffffffff', 'System', 'Administrator', 'sysop', NULL, NULL, NULL, '1099511627775', '1099511627775', '1', '0', NULL, 'admin@localhost.localdomain6', '0', '2018-10-31 15:15:15', NULL, '1', '1000', 'sysop', '::1', '0', '0', NULL, '0', '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '0', '1', '0', '0');
|
INSERT INTO `profiles` (`id`, `user`, `first_name`, `last_name`, `pseudo`, `info`, `about`, `status`, `privacy`, `left_menu`, `sex`, `type`, `phone`, `email`, `coins`, `since`, `block_reason`, `verified`, `reputation`, `shortcode`, `registering_ip`, `online`, `birthday`, `hometown`, `polit_views`, `marital_status`, `email_contact`, `telegram`, `interests`, `fav_music`, `fav_films`, `fav_shows`, `fav_books`, `fav_quote`, `city`, `address`, `style`, `style_avatar`, `show_rating`, `milkshake`, `notification_offset`, `deleted`) VALUES ('1', 'ffffffff-ffff-ffff-ffff-ffffffffffff', 'System', 'Administrator', 'sysop', NULL, NULL, NULL, '1099511627775', '1099511627775', '1', '0', NULL, 'admin@localhost.localdomain6', '0', '2018-10-31 15:15:15', NULL, '1', '1000', 'sysop', '::1', '0', '0', NULL, '0', '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ovk', '0', '0', '1', '0', '0');
|
||||||
|
|
Loading…
Reference in a new issue