It's recommended to use vagrant for virtualization of your environment. Everything in this list will work without VMs, but it might need super user privileges.
- Clone the repository and start the vm with
vagrant up
- Access it using
vagrant ssh
- Create a python venv running
python3 -m venv <your_venv_name>
- Activate the python environment with
. ~/venv/<your_venv_name>/bin/activate
- Go to
/vagrant
. That is the shared folder with the host env. - Run
npm install
to install js dependencies - Run
pip install -r requirements.txt
to install python dependencies - Run
./manage.py runserver 0.0.0.0:8000
to run the Django server - On another terminal window run
npm run start
to start the React server. - Enjoy the application at
localhost:3000
This application can generate automated reports, that show the completed tasks that day, for each user.
To run it as a crontab, run crontab -e
and add the folloging line to it. This cron will run the command and store the logs in log
:
0 23 * * * (. /home/vagrant/venv/bin/activate && python /vagrant/manage.py makereports) >> /vagrant/log 2>&1
If you're not running the app on vagrant or with a virtual env change it to:
0 23 * * * * python3 path/to/manage.py makereports