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.localhost/serenum/update-language
or https://your-domain.com/update-language
so the website can generate the default language file (en.json
).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/