v0.6.1 #86
@ -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 env`
|
||||
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 .venv`
|
||||
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
|
||||
|
@ -1,14 +1,13 @@
|
||||
aiofiles==23.2.1
|
||||
apscheduler~=3.10.1
|
||||
exif==1.6.0
|
||||
fastapi[all]==0.104.1
|
||||
mongodb-migrations==1.3.0
|
||||
opencv-python~=4.8.1.78
|
||||
aiofiles==24.1.0
|
||||
apscheduler~=3.11.0
|
||||
async_pymongo==0.1.11
|
||||
exif==1.6.1
|
||||
fastapi[all]==0.115.6
|
||||
mongodb-migrations==1.3.1
|
||||
opencv-python~=4.10.0.82
|
||||
passlib~=1.7.4
|
||||
pymongo>=4.3.3
|
||||
python-jose[cryptography]~=3.3.0
|
||||
python-magic~=0.4.27
|
||||
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
|
||||
scipy~=1.13.0,<1.14.0
|
||||
ujson~=5.10.0
|
Loading…
Reference in New Issue
Block a user