******************************
REACTIMAGES ONLINE README FILE
******************************

DESCRIPTION

This is the online version of the ReactImages desktop application. This archive does not contain any executables, since this is not a desktop application but a homepage with its own database.
To use this program, you have to install the following additional programs:
-PostgreSQL Database Server (9.3 or later)
-Apache 2 Webserver with PHP (5.4 or later) and PostgreSQL support
-php5-mcrypt package (for password hashing functions)

INSTALLATION

Windows: download and install PostgreSQL database server, then use its own StackBuilder package manager to install the additional dependencies.
Linux: install PostgreSQL database server and apache 2 webserver using your distro's package manager, then install php5-pgsql and php5-mcrypt packages for Apache.

Once the servers are properly installed, configured and working, enter PostgreSQL and create a new superuser, called "admin", grant all permissions to it and create an empty database, called "reactimages" adding "admin" as owner to it. Then:
a) Use PostgreSQL's pg_restore program for creating all database elements. The required database dump file is in the "database" directory, called "database_dump.backup". You may have to clean your database for the successful restoring progress.
b) Use the attached plain-text database dump file, called "database_dump.sql" in the "database" directory. WARNING: this file has not been tested, you may have to modify it to fit your configurations. Use this file only if normal restoring process fails.

Once the database is restored, extract "reactimages.zip" file and copy all of its contents to your webserver's "www" directory. Make sure you set the correct permissions for accessing the directory and grant all permissions to your root-user and webserver on its "upload" subdirectory and its contents.

CONFIGURATION

Enter the homepage's config directory and open "db_config.php" file. Modify its contents to make ReactImages Online program to be able to access its database. Save the file and exit.

GETTING STARTED

Open your browser and enter your new page's backend URL (usually "http://localhost/reactimages/admin/" on a local computer) to enter the administration system.
Normally, the system will warn you that there is no administrative user in the system so you need to register as an administrator. Fill all required field and submit the form to the server.
Once the system is configured properly, you can enter the frontend (usually "http://localhost/reactimages/" on a local computer) to test you new homepage.

LICENSE

The online version of ReactImages program (ReactImages Online) is licensed under GNU General Public License, version 2 (further informations in "license.txt" file or visit: https://www.gnu.org/licenses/gpl-2.0.html)
