Skip to content

How to install RosarioSIS on Windows

François Jacquet edited this page Oct 21, 2022 · 32 revisions

Note: Below we are going to open INI 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 7.1.

Install:

  1. Unmark all components except phpPgAdmin

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

  3. Next, you may have to change the Apache port number to 8080. If so, you will have to append :8080 to the URL: http://127.0.0.1:8080/

  4. Next, enter root as postgres password (or the password of your choice, but be sure to note it down)!

  5. Once installed, launch the Bitnami WAPP stack

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

Recommended PHP configuration settings

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

  2. Open the php.ini file (right click and open with Notepad++)

  3. Edit the lines as follows (search with CTRL + F):

max_execution_time = 240
max_input_vars = 4000
memory_limit = 768M
session.gc_maxlifetime = 3600
extension=php_intl.dll
  1. Save the php.ini file

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

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

Create database

  1. Enter phpPgAdmin at http://127.0.0.1/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

Create the configuration file

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

  2. Rename the config.inc.sample.php file to config.inc.php

  3. Open the config.inc.php (right click and open with Notepad++) file and edit as follows:

$DatabaseUsername = 'postgres';

$DatabasePassword = 'root';

$DatabaseName = 'rosariosis';

// Note: we use slashes "/" instead of antislashes as directory separators.
$pg_dumpPath = 'C:/wappstack/postgresql/bin/pg_dump.exe';

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

// Optional: activate other languages; here, for Spanish & French:
$RosarioLocales = [ '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.

Install database

Access the InstallDatabase.php script at http://127.0.0.1/rosariosis/InstallDatabase.php.

Enter RosarioSIS

Access RosarioSIS at http://127.0.0.1/rosariosis/

Login with username admin and password admin.

Enjoy!

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

Email

RosarioSIS cannot send emails from Windows. Install and configure the Email SMTP plugin so RosarioSIS can use your email account to relay emails.

Quick Setup Guide

You can continue with the Quick Setup Guide.

Update RosarioSIS

To update RosarioSIS:

  1. Download RosarioSIS
  2. Extract the ZIP archive files to C:\wappstack\apache2\htdocs\rosariosis