This is the source code for the website of Serenum. https://serenum.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.3 KiB

Install Serenum on your server

  1. Download the files.
  2. Extract the files to your root folder of your webserver.
  3. Open up site-config.php and enter your own API key from openweathermap.com on line 39 by replacing null with your API key. You can also change other settings if you want to. When you're done, save and exit.
  4. Go to localhost/serenum/update-language or https://your-domain.com/update-language so the website can generate the default language file (en.json).
  5. Change the permissions for the folder where the files are accordenly "Permissions" below.
  6. You're done. Enjoy Serenum.

Permissions

Open up the terminal and go to the folder where you have all the files for Serenum (for an example /var/www/html/serenum) and enter the following commands.

$ find . -type d -exec chmod 755 {} \;
$ find . -type f -exec chmod 644 {} \;
$ sudo chown -R www-data:www-data .

If you need to updateupgrade to a newer version or update your language, you have to change the permissions again to the following so your server can upgrade and update correctly.

$ sudo chmod -R 756 languages/

When you're done, change back to 755.

$ sudo chmod -R 755 languages/