Difference between revisions of "Installation"

From GExtension Wiki
Jump to navigation Jump to search
(Created page with "This article will lead you through the installation process of GExtension. == Web == First, you have to install GMOD Web. #Download the installation files from [https://scri...")
 
Line 11: Line 11:
 
##'''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)
 
#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"'''.
 +
 +
'''Set permissions (Linux only)'''
 +
cd path/to/gextension
 +
sudo chown www-data:www-data *
 +
sudo chmod -r 777
  
 
===Troubleshooting===
 
===Troubleshooting===
 +
"Could not update" + permission error
 +
*Permissions are not set up correctly. Repeat step 4.

Revision as of 17:40, 4 October 2016

This article will lead you through the installation process of GExtension.

Web

First, you have to install GMOD Web.

  1. Download the installation files from ScriptFodder.
  2. Edit config.php
    1. Protocol: 'http' or 'https'. Only use 'https' if you have a valid SSL certificate.
    2. SteamAPI: Key: Get your API Key from Steam.
    3. Timezone: Select the correct timezone from this site.
    4. MySQL: Insert IP, port, user, password and database.
    5. SMTP (optional): Insert mailserver, port, username, password, alias, security and method. You can use outlook.com if you do not have your own mailserver.
  3. Upload the files to your webserver.
  4. Set directory permissions (Linux)
  5. Open the directory on your webserver using a browser.
  6. Press "Retrieve" to get your license key.
  7. Press "Start".

Set permissions (Linux only)

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.