Make sure to replace placeholder called 'MYSQL_DATABASE' with the name of your database in the step 4.
Manually
# Make sure you change somePassword to a complicated password.
CREATE USER 'passky'@'127.0.0.1' IDENTIFIED BY 'somePassword';
# Create database
CREATE DATABASE passky;
# Give all permissions for user passky to the database named passky
GRANT ALL PRIVILEGES ON passky.* TO 'passky'@'127.0.0.1' WITH GRANT OPTION;
Last step is to create all tables. SQL code is located HERE.
:warning: WARNING
Make sure to replace placeholder called 'MYSQL_DATABASE' with the name of your database.
API
Upload all files and folders from api/src directory to your root folder of the website (Usually called public_html).
Create 2 additional files called api-limiter.json and tokens.json one folder behind public_html folder with a json content:
{}
Open Settings.php file located in public_html folder and change settings under "DATABASE SETTINGS" category. Other settings are optional.
Install dependencies located HERE thru composer. Shared Hosting providers should provide you access to the composer.
Testing
Now you can open the website and it should inform you if any major mistake was detected. But keep in mind that those mistakes are currently only based for docker deployment. So it will inform you about insecure connection or if API doesn't have access to the database, but it won't inform you if composer dependencies weren't installed or any other mistake that isn't present thru docker-compose installaion.
I will focus on shared hosting more and will also make installation easier in the near future.
Requirements
Setup
Database
Web Panel
Manually
Last step is to create all tables. SQL code is located HERE.
API
Testing
Now you can open the website and it should inform you if any major mistake was detected. But keep in mind that those mistakes are currently only based for docker deployment. So it will inform you about insecure connection or if API doesn't have access to the database, but it won't inform you if composer dependencies weren't installed or any other mistake that isn't present thru docker-compose installaion.
I will focus on shared hosting more and will also make installation easier in the near future.