Installation
Dubsite requires PHP version 5.2.3 or higher. It has been tested on MySQL, PostgreSQL and SQLite.
Go to www.dubsite.net and download the latest version.
Extract the archive and upload the content of the dubsite-folder to your server. If you upload it to a remote server, this can take a while, because Dubsite includes many files from the Zend Framework. So now would be the time to make a coffee.
Before you install
Check the following points before you start the installation.
Domain
You should (but don't have to) point your domain to the directory "public" inside the Dubsite-directory (You can do this most likely in your hosting-provider's backend). If you don't do this, Dubsite will be accessible at "www.mysite.com/public" instead of "www.mysite.com".
File-Permissions
The directories "data" and "public/fileupload" must be writable by Dubsite, because the system stores dynamic data and uploaded files there. Make sure these two directories belong to the same user or group as the webserver (maybe "www-data"), or CHMOD them accordingly.
Database
If you use MySQL or PostgreSQL, create an empty database for your Dubsite-tables, preferrable with UTF8-Collation.
ATTENTION: In the unlikely case that there are already tables in your database, that have names beginning with the prefix "dub_", they will be deleted when Dubsite gets installed!
Install Dubsite
Open the URL of your site. You will see the installation-screen. Enter the required values. If there is any Problem, a message will appear on top and you should fix the issue.
If you should see an "Internal Server Error" instead of the installation-screen, delete the file ".htaccess" in the folder "public".
Depending on the included package, Dubsite configures the system during installation and installs some example content and pages.
IMPORTANT: For security reasons, delete the folder "public/install", or at least the file "public/install/index.php" after installation!
That's It!
Now you can set up your site. Use the login-form in the sidebar to log in with the username and password, that you entered earlier. After login you can create and edit content directly on the page. If you want to go to the backend, click on the admin-icon on top of the page (beside the logout-button).
If you should ever accidently delete the login-form in the sidebar while poking around with Dubsite, you can always log in by visiting "index.php/login". This login-form is "locked", so nobody can delete it.
Upgrading Dubsite
If you want to upgrade to a newer version of Dubsite look at the file README.txt. Normally it should be easy to upgrade within the same major version (for example from 3.0 to 3.1).
If the major version changes (for example from 3 to 4), it may not be possible to upgrade without re-installing. Anyway, that problem could be solved with a custom upgrade-script.
