DISCLAIMER: There are pending code improvements and corrections, as pending deployment documentation.
To deploy and test:
- Clone the project in your server
- Move the folder to the location where Nginx server will be listening
- Copy "nginx-site" file to the folder "sites-available" in your Nginx folder
- Create a synlink with $ln -sF &fileSitesAVailable &nameOfTheFile (ex: $ln -sF /etx/nginx/sites-available/ritsicrossing.ritsi.es ritsicrossing.ritsi.es)
- Create a database with name "ritsi_crossing"
- Import "demo.sql" into the database
- Create the users required on the database and update it on "services/db_auth.json"
- Create a ".htpasswd" in the "management" folder of the website with the command $sudo htpasswd -c &route/.htpasswd &username (ex. $sudo htpasswd -c /var/www/ritsi_crossing/management/.htpasswd admin)
- Enjoy it!
Note: Remember that if you change any name or configuration, you have to ensure that you update it in the files needed.