diff --git a/README b/README index e27082aa1..9772193c0 100644 --- a/README +++ b/README @@ -5,14 +5,17 @@ To try this out: 0) Start from WebGUI 7.10.4 or the example .conf and create.sql that comes with WebGUI 8 1) Run testEnvironment.pl to install Plack 2) Get a new wgd from http://haarg.org/wgd - 3) $ wgd reset --upgrade - 4) $ cd /data/WebGUI (or whereever you unpacked it) - 5) $ rsync -r -a (or cp -a) /data/WebGUI/www/extras /data/domains/www.example.com/public/ - 6) $ export PERL5LIB='/data/WebGUI/lib:/data/WebGUI/t/lib' + 3) Copy etc/WebGUI.conf.original to www.whatever.com.conf; edit it and set dbuser, dbpass, + dsn, and uploadsPath (eg to /data/domains/www.example.com/public/uploads/) + 4) Set WEBGUI_CONFIG to point at your new config file + 4) $ wgd reset --upgrade + 5) $ cd /data/WebGUI (or whereever you unpacked it) + 6) $ rsync -r -a (or cp -a) /data/WebGUI/www/extras /data/domains/www.example.com/public/ + 7) $ export PERL5LIB='/data/WebGUI/lib' To start it: - 7) $ plackup app.psgi + 8) $ plackup app.psgi See docs/install.txt for more detailed installation instructions. diff --git a/docs/install.txt b/docs/install.txt index 8fd5d0ea3..cecc76084 100644 --- a/docs/install.txt +++ b/docs/install.txt @@ -28,6 +28,9 @@ WebGUI 7. to insert your site's URL and the database connection information (dbuser, dbpass, dsn). + Set uploadsPath in the .conf file to eg + /data/domains/www.example.com/public/uploads/. + Edit "etc/spectre.conf" to define port and worker settings for spectre. Set WEBGUI_CONFIG to point at your new configuration file: