mirror of
https://github.com/openvk/openvk
synced 2024-12-23 17:12:01 +03:00
9 lines
425 B
Text
9 lines
425 B
Text
|
cd /opt/chandler && \
|
||
|
mysql -p'DATABASE_PASSWORD' -e "CREATE DATABASE openvk" && \
|
||
|
mysql -p'DATABASE_PASSWORD' -e "CREATE DATABASE openvk_eventdb" && \
|
||
|
mysql -p'DATABASE_PASSWORD' openvk < install/init-db.sql && \
|
||
|
cd extensions/available/openvk/ && \
|
||
|
mysql -p'DATABASE_PASSWORD' openvk < install/init-static-db.sql && \
|
||
|
mysql -p'DATABASE_PASSWORD' openvk_eventdb < install/init-event-db.sql && \
|
||
|
systemctl enable --now httpd
|