horilla-opensource / horilla

Horilla is a free and open source HR software.
https://www.horilla.com/
GNU Lesser General Public License v2.1
215 stars 145 forks source link

Clean installation without test data #97

Closed Tinchossh closed 8 months ago

Tinchossh commented 8 months ago

Bug Report

Description

I want to perform a clean install, without the sample data. How can I do it that way? I want to enter and start loading data from the company where I am going to use it, but I am not being able to do it and when I want to delete the default data I cannot do it because they have relationships between the tables.

Steps to Reproduce

Steps do in documentation https://www.horilla.com/docs/installation/#windows

Expected Behavior

Clean install

Actual Behavior

Dummy data installation

Screenshots

Environment

horilla-opensource commented 8 months ago

Hi @Tinchossh , To have a fresh database, you can configure it inside the settings.py file (horilla/settings.py) You can configure the database which you need (psql, mysql, slqlite3 etc) If you want to continue with the sqlite3 database itself, you need to just change the name of the database inside the settings.py file or remove the TestDB_Horilla.sqlite3 and run the migrate command again. Or if you want to configure other type of database, you can refer to the link below. Database Setup

With Regards, Team Horilla

Tinchossh commented 8 months ago

Solved!!!!!!!!!!!!!!!! Thank You!!!!!!!!!

Tinchossh commented 8 months ago

Closed