Example data swapped out for optional import

This commit is contained in:
2023-02-14 14:34:58 +01:00
parent 23b73a387b
commit ed33c0553d
4 changed files with 66 additions and 47 deletions
+11 -2
View File
@@ -5,6 +5,7 @@ IP Reg version 0.6 and up depends on smarty template engine.
In Debian install ist with: "apt-get install smarty3".
The GHP-GD module is also required: "apt-get install php-gd".
2. Create database
Create a database for IP Reg on your web server, as well as a MySQL user who
has all privileges for accessing and modifying it.
@@ -16,19 +17,26 @@ Create database-user for application with minimum necessary rights.
CREATE USER 'ipreg'@'localhost' IDENTIFIED BY '********';
GRANT SELECT, INSERT, UPDATE, DELETE ON ipreg.* TO 'ipreg'@'localhost';
3. Run import
3. Run database import
Import the mysql.sql file into your database, which will create the tables
and some sample data.
mysql ipreg < mysql.sql
Optional import some sample data
mysql ipreg < mysql_sample.sql
4. Edit config file
Open config.php in a text editor and fill in your database details.
5. Upload files
Upload all files and directory's (except the install directory) to your
webserver.
6. Check file access rights for security
Only directory tpl_c should be writeble by webserver
@@ -37,6 +45,7 @@ Only directory tpl_c should be writeble by webserver
chown www-data tpl_c
7. Start using IP Reg
Start your browser and login to IP Reg with the default username/password:
admin/admin