Browse Source

Long overdue updates for the new modern YBDB!

master
Jonathan Rosenbaum 7 years ago
parent
commit
8d3daf57d8
  1. 3
      Dockerfile
  2. 17
      local_configurations.php

3
Dockerfile

@ -5,7 +5,7 @@
# Password is # Password is
FROM bikebike/bikebike:14.04 FROM bikebike/bikebike:14.04
MAINTAINER Jonathan Rosenbaum <gnuser@gmail.com> MAINTAINER Jonathan Rosenbaum <bike@bikelover.org>
RUN apt-get update && apt-get -y install apache2-mpm-prefork php5 php5-mysql php5-curl; RUN apt-get update && apt-get -y install apache2-mpm-prefork php5 php5-mysql php5-curl;
@ -22,6 +22,7 @@ COPY local_configurations.php /var/www/html/Connections/
# started with mysqld_safe # started with mysqld_safe
RUN service mysql start; \ RUN service mysql start; \
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql; \
mysql_install_db; \ mysql_install_db; \
mysqladmin create ybdb; \ mysqladmin create ybdb; \
mysql -e "GRANT ALL PRIVILEGES ON ybdb.* TO 'admin'@'%' IDENTIFIED BY 'yblcatx' with grant option"; \ mysql -e "GRANT ALL PRIVILEGES ON ybdb.* TO 'admin'@'%' IDENTIFIED BY 'yblcatx' with grant option"; \

17
local_configurations.php

@ -13,4 +13,21 @@ define("DEFAULT_SHOP_USER", "Stand Time");
define("DEFAULT_TRANSACTION_TYPE", "Stand Time"); define("DEFAULT_TRANSACTION_TYPE", "Stand Time");
define("CHANGE_FUND", 50); define("CHANGE_FUND", 50);
$etherpad = array(
"host" => "https://demopad.bikelover.org",
"userName" => "PositiveSpin",
"noColors" => true,
"height" => "100%",
"plugins" => array()
);
$etherpad_global = array(
"host" => "https://demopad.bikelover.org",
"userName" => "PositiveSpin",
"noColors" => true,
"height" => "100%",
"plugins" => array()
);
?> ?>

Loading…
Cancel
Save