Compare commits

..

No commits in common. "dev" and "master" have entirely different histories.
dev ... master

2 changed files with 11 additions and 10 deletions

View File

@ -35,8 +35,8 @@ First you need to have a Python interpreter, MongoDB and optionally git. You can
3. Create virtual environment [Optional yet recommended]:
1. Install virtualenv module: `pip install virtualenv`
2. Create venv: `python -m venv .venv`
3. Activate it using `source .venv/bin/activate` on Linux, `.venv\Scripts\activate.bat` in CMD or `.venv\Scripts\Activate.ps1` in PowerShell.
2. Create venv: `python -m venv env`
3. Activate it using `source venv/bin/activate` on Linux, `venv\Scripts\activate.bat` in CMD or `venv\Scripts\Activate.ps1` in PowerShell.
4. Install project's dependencies:
@ -97,7 +97,7 @@ It's a good practice to use your API as a systemd service on Linux. Here's a qui
[Service]
Restart=always
Type=simple
ExecStart=/bin/bash -c 'source .venv/bin/activate && .venv/bin/uvicorn photos_api:app --port 8054'
ExecStart=/bin/bash -c 'source venv/bin/activate && venv/bin/uvicorn photos_api:app --port 8054'
WorkingDirectory=/opt/PhotosAPI
User=photosapi
Group=photosapi

View File

@ -1,13 +1,14 @@
aiofiles==24.1.0
aiofiles==23.2.1
apscheduler~=3.10.1
async_pymongo==0.1.6
exif==1.6.0
fastapi[all]==0.111.0
mongodb-migrations==1.3.1
opencv-python~=4.10.0.82
fastapi[all]==0.104.1
mongodb-migrations==1.3.0
opencv-python~=4.8.1.78
passlib~=1.7.4
pymongo>=4.3.3
python-jose[cryptography]~=3.3.0
python-magic~=0.4.27
scipy~=1.13.0
ujson~=5.10.0
scipy~=1.11.0
ujson~=5.8.0
--extra-index-url https://git.end-play.xyz/api/packages/profitroll/pypi/simple
async_pymongo==0.1.4