Skip to content

How to install RosarioSIS on Windows

François Jacquet edited this page Apr 14, 2017 · 32 revisions

Note: Below we are going to open INI, SQL and PHP files. You may want to install Notepad++ first to get syntax highlighting for these files.

Install Bitnami WAPP stack

Note: The WAPP acronym stands for Windows, Apache web server, PHP and PostgreSQL.

Download Bitnami WAPP stack version 5.4.

Install:

  1. Unmark all components except phpPgAdmin

  2. Next, install under the C:\wappstack folder

  3. Next, change the port to 8080

  4. Next, change the SSL port if necessary

  5. Next, enter root as postgres password

Activate the PHP gettext extension

  1. Go to C:\wappstack\php using the File Explorer

  2. Open the php.ini file

  3. Press CTRL + F and search for gettext

  4. Remove the semicolon on the following line: ;extension=php_gettext.dll to get extension=php_gettext.dll

  5. Save the php.ini file

Restart Apache Web Server using the Bitnami WAPPStack Manager tool, under Manage Servers tab.

You can now access your local server at http://127.0.0.1:8080/

Install wkhtmltopdf

Download wkhtmltopdf

Install it under the C:\wkhtmltopdf\ folder

Install RosarioSIS

Download RosarioSIS

Extract the ZIP archive files to C:\wappstack\apache2\htdocs\rosariosis

Import the database

  1. Enter phpPgAdmin at http://127.0.0.1:8080/phppgadmin

  2. Click on PostgreSQL

  3. Connect with username postgres and root as password

  4. Click on Create database

  5. Name it rosariosis

  6. Choose UTF8 as Encoding

  7. Click Create

  8. Click rosariosis database

  9. Click on SQL

  10. Uncheck Paginate Results

  11. Go to C:\wappstack\apache2\htdocs\rosariosis using the File Explorer

  12. And open the rosariosis.sql file

  13. Press CTRL + A and CTRL + C to copy the SQL commands

  14. Go back to phpPgAdmin and paste the SQL commands with CTRL + V in the text box.

  15. Click Execute

Create the configuration file

  1. Go to C:\wappstack\apache2\htdocs\rosariosis using the File Explorer

  2. Copy and paste the config.inc.sample.php file and rename it to config.inc.php

  3. Open the config.inc.php file and edit as follows:

   $DatabaseUsername = 'postgres';

   $DatabasePassword = 'root';

   $DatabaseName = 'rosariosis';

   $pg_dumpPath = 'C:/wappstack/postgresql/bin/pg_dump.exe';

   $wkhtmltopdfPath = 'C:/wkhtmltopdf/bin/wkhtmltopdf.exe';

   // Optional: activate other languages; here, for Spanish & French:
   $RosarioLocales = array( 'en_US.utf8', 'es_ES.utf8', 'fr_FR.utf8' );
  1. Save the config.inc.php file

Note: For other configuration options, you may refer to the INSTALL.md file.

Enter RosarioSIS

Access RosarioSIS at http://localhost:8080/rosariosis/

Login with username admin and password admin.

Enjoy!

Errors, blank screen? Troubleshoot issues by going to http://localhost:8080/rosariosis/diagnostic.php

You can continue with the Quick Setup Guide.