First, setup python3 and pip and then clone the repository to your local machine:
git clone https://github.com/smrityku/time-tracker.gitcd time-trackerInstall the requirements:
sudo pip install -r requirements.txtOpen mysql console and create a empty database e.g 'timetracker_db'. Update settings.py in timetracker app and then run migration by following command:
sudo apt-get install python-dev python3-dev
sudo apt-get install libmysqlclient-dev
pip install pymysql
pip install mysqlclient
python manage.py migrateCreate Admin user:
python manage.py createsuperuserRun test Code:
python manage.py testFinally, run the development server:
python manage.py runserverThe project will be available at 127.0.0.1:8000