Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
irusri committed Oct 22, 2019
1 parent 410272e commit b388a23
Showing 1 changed file with 41 additions and 1 deletion.
42 changes: 41 additions & 1 deletion docs/administration/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,44 @@ By default, MAMP uses port 8888 for Apache and port 8889 for MySQL. It is conven

You will find the source of GenIE-Sys in your download folder. So you just need to Copy GenIE-Sys folder into corresponding ```~/Applications/MAMP/htdocs/``` folder.

That is basically what you need to do in order to install GenIE-Sys on your Mac's local server. You should now be able to access it at: ```http://localhost/geniesys``` in your browser. Now you can see the essential website up and running. However to configure it correctly please update the configuration file as described in the next section.
That is basically what you need to do in order to install GenIE-Sys on your Mac's local server. You should now be able to access it at: ```http://localhost:[port number if it is not 80]/geniesys``` in your browser. Now you can see the essential website up and running. However to configure it correctly please update the configuration file as described in the next section.


## Configuration file

We should update the settings file(```geniesys/plugins/settings.php```) right after the installtion. Especially the base URL depending on your webhost. For example:

```php
/*Define your base url with trailing slash*/
$GLOBALS["base_url"]='http://localhost:[port number if it is not 80]/geniesys/';

OR

$GLOBALS["base_url"]='http://localhost:[port number if it is not 80]';

```

Next, we need to create a MySQL database and load our data.



## Updates

**Manual updates**

GenIE-Sys can be updated manually using latest ZIP file from [GitHub](https://github.com/irusri/geniesys/archive/master.zip). Please backup your older version of ```geniesys/plugins/settings.php``` and ```geniesys/genie_files``` before you do the latest update. First unzip the genie.zip file from your download folder and move into the Web Server server. Finally copy the ```geniesys/plugins/settings.php``` and ```geniesys/genie_files``` into latest version of GenIE-Sys.

**Updates using Git**

Here is the easy way to update GenIE-Sys using git submodules:

```
cd geniesys
git checkout master
git pull
git submodule foreach --recursive git checkout master
git submodule foreach --recursive git pull
```



0 comments on commit b388a23

Please sign in to comment.