-
Notifications
You must be signed in to change notification settings - Fork 371
How to install RosarioSIS on Windows
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.
Note: The WAPP acronym stands for Windows, Apache web server, PHP and PostgreSQL.
Download Bitnami WAPP stack version 5.4.
Install:
-
Unmark all components except phpPgAdmin
-
Next, install under the
C:\wappstackfolder -
Next, you may have to change the Apache port number to
8080. If so, you will later have to append:8080to the URLs to access you webserver. -
Next, enter
rootas postgres password (or the password of your choice, but be sure to note it down)!
-
Go to
C:\wappstack\phpusing the File Explorer -
Open the
php.inifile -
Press
CTRL + Fand search forgettext -
Remove the semicolon on the following line:
;extension=php_gettext.dllto getextension=php_gettext.dll -
Save the
php.inifile -
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/
Download wkhtmltopdf
Install it under the C:\wkhtmltopdf\ folder
Download RosarioSIS
Extract the ZIP archive files to C:\wappstack\apache2\htdocs\rosariosis
-
Enter phpPgAdmin at http://127.0.0.1/phppgadmin
-
Click on PostgreSQL
-
Connect with username
postgresandrootas password -
Click on Create database
-
Name it
rosariosis -
Choose
UTF8as Encoding -
Click Create
-
Click
rosariosisdatabase -
Click on SQL
-
Uncheck Paginate Results
-
Go to
C:\wappstack\apache2\htdocs\rosariosisusing the File Explorer -
And open the
rosariosis.sqlfile -
Press
CTRL + AandCTRL + Cto copy the SQL commands -
Go back to phpPgAdmin and paste the SQL commands with
CTRL + Vin the text box. -
Click Execute
-
Go to
C:\wappstack\apache2\htdocs\rosariosisusing the File Explorer -
Copy and paste the
config.inc.sample.phpfile and rename it toconfig.inc.php -
Open the
config.inc.phpfile 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 = array( 'en_US.utf8', 'es_ES.utf8', 'fr_FR.utf8' );- Save the
config.inc.phpfile
Note: For other configuration options, you may refer to the INSTALL.md file.
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
You can continue with the Quick Setup Guide.