11# How To Install
2+ # Automatic(Wizard Based Install)
3+ To run the installer open
4+ ` <install path>/Service/install.php `
25
6+ ## Manual
37###MYSql
48- Create a MYSQL database named "OpenNote"
59- Download and extract OpenNote into a folder on your php web-server called "OpenNote"
6- - Open up the ` model/sql ` folder and run ` notebook.sql ` in your OpenNote database
7- - Change the database connection settings inside of ` web-server path/OpenNote /Config.php` to match your db settings.
10+ - Open up the ` Service/ model/sql` folder and run ` notebook.sql ` in your OpenNote database
11+ - Change the database connection settings inside of ` Service /Config.php` to match your db settings.
812These are stored in the following lines of code in ` /OpenNote/Config.php ` :
913``` php
1014 public static $dbUserName = "notebook";
@@ -17,8 +21,8 @@ These are stored in the following lines of code in `/OpenNote/Config.php`:
1721
1822###SQLite
1923- Download and extract OpenNote into a folder on your php web-server called "OpenNote"
20- - Move the SQLite database file from ` model/sql ` folder to a folder not in the web server www directory .
21- - Change the database connection settings inside of ` web-server path/OpenNote /Config.php` to match your db settings.
24+ - Create a SQLite database file and execute the SQL DDL from ` Service/ model/sql` and run ` notebook.sqlite.sql ` .
25+ - Change the database connection settings inside of ` Service /Config.php` to match your db settings.
2226- These are stored in the following lines of code in ` /OpenNote/Config.php ` :
2327
2428Uncomment the following lines in the dbConfig function:
@@ -33,4 +37,4 @@ Comment the following lines in the dbConfig function:
3337 $dbName = "../<relative path >/OpenNote.sqlite";
3438```
3539
36- - Now the site install is complete. You can now open the site by going to your webserver url +/OpenNote
40+ - Now the site install is complete. You can now open the site by going to your webserver url +/OpenNote
0 commit comments