From d7069b5a2e7859ab14c5a909d5e5fc6bc84b80cb Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Thu, 3 Jan 2013 07:41:53 +0000 Subject: Improve app hosting management app, restructure UI and refactor REST services and data model to use an SQL database. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428193 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/hosting/server/proxy-start | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'sca-cpp/trunk/hosting/server/proxy-start') diff --git a/sca-cpp/trunk/hosting/server/proxy-start b/sca-cpp/trunk/hosting/server/proxy-start index f06de9fc01..6ec55767c1 100755 --- a/sca-cpp/trunk/hosting/server/proxy-start +++ b/sca-cpp/trunk/hosting/server/proxy-start @@ -35,6 +35,17 @@ fi ../../components/cache/memcached-start tmp 11211 ../../components/cache/memcached-start tmp 11212 +# Configure database +../../components/sqldb/pgsql-conf tmp + +# Start database +../../components/sqldb/pgsql-start tmp + +# Load database tables +./drop-tables 1>/dev/null 2>/dev/null +./create-tables >/dev/null +./load-tables >/dev/null + # Configure server ../../modules/http/httpd-conf tmp www.example.com 9090 htdocs ../../modules/http/httpd-event-conf tmp -- cgit v1.2.3