Commit Graph

27 Commits

Author SHA1 Message Date
Amritanshu Agrawal 93b1b8840d Feature: Updated the frank dockerfile to properly install python poetry
Feature: Updated the frank playbook to allow user to be changed from pi
Chore: Refactored the various env files to use single file and multiple var files.
2023-08-28 11:03:00 +05:30
Amritanshu Agrawal e8a33cd80e Chore: Updated bake pies to current services 2023-08-17 22:17:09 +05:30
Amritanshu Agrawal 26310dfc42 Changed docker to use a hosts file with various var files and to use roles. 2023-07-23 08:46:45 +05:30
Amritanshu Agrawal 5c7985e392 Chore:
Moved to sqlalchemy 2.0
Added type checking as much as possible
Updated angular to 15
Moved from Angular flex layout to tailwind css

Started developing on vscode with devcontainers
2023-02-20 18:49:17 +05:30
Amritanshu Agrawal 9f4ec3697c Fix: Frank service changed to beacon from knox 2022-06-21 08:54:45 +05:30
Amritanshu Agrawal 9fe84800a7 Chore: Dockerfile also updated 2022-06-21 08:53:37 +05:30
Amritanshu Agrawal f9124abb6c Moved ssh and redis tunneling from knox to beacon 2022-04-26 09:03:10 +05:30
Amritanshu Agrawal a213c1a0b5 Added: Process id to log.
Added: Max workers to all .envs
Added: Leardall service
Added: beacon redis tunnel
2022-04-16 17:28:00 +05:30
Amritanshu Agrawal 676719917a Fix: Wrong parameter to gunicorn run. This as anyway a bit of trial and error 2022-04-16 08:44:17 +05:30
Amritanshu Agrawal 3eaf4cd41d Using gunicorn to run upto 4 workers. This should fix the problems of the whole program crashing. 2022-04-16 07:57:18 +05:30
Amritanshu Agrawal ee7a24fa77 Minor cleanup 2021-10-29 08:06:23 +05:30
Amritanshu Agrawal ef9e28c95b Docker: Updated the dockerfile and deploy script to better use docker cacheing 2021-10-28 09:55:09 +05:30
Amritanshu Agrawal c478290da0 Added the public keys of knox and buttercup as well
Disabled password logins to harden the system
2021-09-13 10:03:07 +05:30
Amritanshu Agrawal eedc571ade Updated the docker and ansible files for setting up and building / running rasberry pi with the frank service
Still need to manually copy the new id_rsa created on the pi to knox.
2021-07-24 12:58:24 +05:30
Amritanshu Agrawal 8a243fe387 Update frank to latest arq. We are having issues with duplicate kots being printed. This might be because the server arq is updated.
Also added the frank service and build frank script to the frank playbook so that new containers can be built on the device when ansible is not an option
2021-06-23 09:41:56 +05:30
Amritanshu Agrawal 567fb836b3 Fix: Kots should be sorted by date as a relationship of the voucher. This was causing them to appear in random order in sales. 2021-06-22 05:34:02 +05:30
Amritanshu Agrawal 1c222872d2 Fix: Inactive Menu Categories should not show up in sales.
Trying to better cache dockerfile
2021-06-21 12:37:49 +05:30
Amritanshu Agrawal 625a484bcd Chore: Updated poetry 2021-06-19 12:31:48 +05:30
Amritanshu Agrawal e753ee625f Mohali docker playbook with env file. 2021-04-17 14:33:23 +05:30
Amritanshu Agrawal 07d13898c3 Fix: Dates in old imported data should be at UTC time.
Fix: Use utc now for dates to have consistent dates across timezones.
2021-04-06 08:50:37 +05:30
Amritanshu Agrawal f4caa19bb2 Moved printing into its own separate project called frank. It also has its own toml and deployement system.
It also works on a raspberry pi
2021-03-24 01:43:43 +05:30
Amritanshu Agrawal 1163989866 Updated Dockerfiles 2021-03-18 17:19:14 +05:30
Amritanshu Agrawal 2374fd7347 Chore: Updated angular and other javascript dependencies 2021-03-18 07:11:41 +05:30
Amritanshu Agrawal f4b85dcb41 Added scripts for easy deployment. 2020-12-19 10:42:20 +05:30
Amritanshu Agrawal e4500f0d46 Breaking: Discount is applicable on sale category and not on menu category
Fix the import, etc on this.
While entering discount in sale, it checks the max allowed.
2020-12-16 11:49:22 +05:30
Amritanshu Agrawal 22de4f7624 Fix: Reports were not working as they were not adapted to the new Enums
Fix: The docker image borked on printing as it did not have the en_IN locale
Fix: Angular errored as it needed typescript < 4.1.0
Fix: chd yml had a typo in host name
2020-12-15 22:15:51 +05:30
Amritanshu Agrawal 4f5ba47d46 Added the docker files and ansible playbooks for two instances namely pkl and chd. 2020-12-14 17:58:00 +05:30