- install https://exiftool.org
- Arch
pacman -S perl-image-exiftool
- Ubuntu
apt install libimage-exiftool-perl
- CentOS/RHEL
yum install perl-Image-ExifTool
- Others
- idk figure it out
- Arch
- startup docker environment
% docker compose up -d
- setup python venv
% ./venv.sh ... Done. run 'source ./.venv/bin/activate' to enter python virtual environment
- create credential files for above
% source .venv/bin/activate (.venv) % python3 init.py gen-credentials
- init db and create defaults
% source .venv/bin/activate (.venv) % python3 init.py db -u [Tue Jul 2 21:10:40 2024] INFO > connected to database. ==> exec: db/0/00-init.sql ==> exec: db/0/01-enums.sql (.venv) % python3 init.py icon (.venv) % python3 init.py admin [Tue Jul 2 21:11:17 2024] INFO > connected to database. [Tue Jul 2 21:11:17 2024] INFO > connected to database. ==> account: email='[email protected]' password='very-secure-password-123'
- setup minio server
- navigate to http://localhost:9090 and login using default credentials
- create a bucket named
kheina-content
with default settings- you must add an anonymous access rule to allow read access to bucket contents
- create an access key using the sample credentials
- run server within venv
% source .venv/bin/activate (.venv) % fastapi dev server.py
- run
deactivate
to exit venv
-
Notifications
You must be signed in to change notification settings - Fork 0
License
kheina-com/backend
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Latest commit4637aac · | ||||
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published