Difference between revisions of "Installation"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
== Web == | == Web == | ||
First, you have to install GMOD Web. | First, you have to install GMOD Web. | ||
− | #Download the installation files from [https://scriptfodder.com/scripts/download/2899 ScriptFodder] | + | #Download the installation files from [https://scriptfodder.com/scripts/download/2899 ScriptFodder] |
#Edit config.php | #Edit config.php | ||
##'''Protocol''': 'http' or 'https'. Only use 'https' if you have a valid SSL certificate. | ##'''Protocol''': 'http' or 'https'. Only use 'https' if you have a valid SSL certificate. | ||
− | ##'''SteamAPI''': Key: Get your API Key from [http://steamcommunity.com/dev/apikey Steam] | + | ##'''SteamAPI''': Key: Get your API Key from [http://steamcommunity.com/dev/apikey Steam] |
− | ##'''Timezone''': Select the correct timezone from [http://php.net/manual/en/timezones.php this site] | + | ##'''Timezone''': Select the correct timezone from [http://php.net/manual/en/timezones.php this site] |
− | ##'''MySQL''': Insert ''IP'', ''port'', ''user'', ''password'' and ''database'' | + | ##'''MySQL''': Insert ''IP'', ''port'', ''user'', ''password'' and ''database'' |
##'''SMTP''' (optional): Insert ''mailserver'', ''port'', ''username'', ''password'', ''alias'', ''security'' and ''method''. You can use [https://outlook.live.com outlook.com] if you do not have your own mailserver. | ##'''SMTP''' (optional): Insert ''mailserver'', ''port'', ''username'', ''password'', ''alias'', ''security'' and ''method''. You can use [https://outlook.live.com outlook.com] if you do not have your own mailserver. | ||
− | #Upload the files to your webserver | + | #Upload the files to your webserver |
#Set directory permissions (Linux) | #Set directory permissions (Linux) | ||
− | #Open the directory on your webserver using a browser | + | #Open the directory on your webserver using a browser |
− | #Press '''"Retrieve"''' to get your license key | + | #Press '''"Retrieve"''' to get your license key |
− | #Press '''"Start"''' | + | #Press '''"Start"''' |
'''Linux Only''' | '''Linux Only''' |
Revision as of 14:23, 5 October 2016
This article will lead you through the installation process of GExtension.
Web
First, you have to install GMOD Web.
- Download the installation files from ScriptFodder
- Edit config.php
- Protocol: 'http' or 'https'. Only use 'https' if you have a valid SSL certificate.
- SteamAPI: Key: Get your API Key from Steam
- Timezone: Select the correct timezone from this site
- MySQL: Insert IP, port, user, password and database
- SMTP (optional): Insert mailserver, port, username, password, alias, security and method. You can use outlook.com if you do not have your own mailserver.
- Upload the files to your webserver
- Set directory permissions (Linux)
- Open the directory on your webserver using a browser
- Press "Retrieve" to get your license key
- Press "Start"
Linux Only
- Set Permissions:
cd path/to/gextension sudo chown www-data:www-data * sudo chmod -r 777
Troubleshooting
"Could not update" + permission error
- Permissions are not set up correctly. Repeat step 4.
Lua
After installing the web part, you can now install the Lua addon.