Closed Tinchossh closed 2 months ago
Hi @Tinchossh, You can follow the steps in the README.md to start the server and it will start with the data loaded from the SQLite Database. Also you can change the settings here : https://github.com/horilla-opensource/horilla/blob/21a096c1a36c53024bb9704664f8794864c8ac9f/horilla/settings.py#L104-L111 To answer your second question, Yes the SQLite Database will be copied whenever you clone the repo.
Feel free to reach out if you have any further questions or need assistance.
Hi @Tinchossh , In case you are using the sqlite3 database for the your use, you can copy the database file from your local instance and paste it inside the horilla directory in your server and change the name of the database inside the settings.py to the name of your database. Or else if your are using the psql database, you can make use of the dump of the database and restore it in your server using the psql commands and change the settings inside the settings.py which you can see inside the README.md.
With Regards, Team Horilla
Thanks!!!!!!!!!!!!
Bug Report
Description
I want to know how to deploy to a server without losing the data loaded on localhost. I also want to know how to import the database. I am not sure if the database is also copied when deploying.
Expected Behavior
To be able to deploy to the server, keeping everything loaded on localhost
Environment