For some reason, I have pushed to another branch called "branch" and not with my user on Airikr Git. I will try to not repeat this mistake.
You can find the latest release here: https://git.airikr.me/serenum/website/src/branch/branch
@mvietri Thank you 🙂 Alright! Please tell me how the installation where so I can improve it (if needed).
@edgren Hi! I got it working on a nginx web server. I still have an issue with the rewrite rules tho. I dislike the 'editing files' part a bit. Those changes will be lost on an update and there was a hardcoded path (/var/www/files) where it stores the api key. Even if it does not exists (as in my fs), settings said it was 'Done'.
Nonetheless it's working now and it looks great!
@mvietri Hi. Nice! I do use Apache as my webserver, though. I don't know how nginx is working, but can you explain what's not working with the rewrite rules?
I can add a text field where you can enter where the file with the API key will be stored in, before you run /update-settings. Or I can let you enter the full path to the API key file in settings.json, but I think that's an security issue. What do you think?
Yeah, I have issues with if the file exists or not. Working on it 🙂
@edgren I think a full path text field for the key file would be better. I used a "online .htaccess to nginx" converter and it messed up the rules. I did edit the json directly since the homepage was up and running. I need to check the other rewrite rules.
@mvietri Alright. I will add that feature 🙂
Will add a todo on how to make the website work perfectly in nginx too.
@mvietri Hi. I tried difference methods for the config file, but failed. So I ended up created a PHP file and adding the website settings in variables instead. Much easier for now. I hope you understand 🙂
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.