Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yzgyyang/luminaimg
An image repository.
https://github.com/yzgyyang/luminaimg
Last synced: 19 days ago
JSON representation
An image repository.
- Host: GitHub
- URL: https://github.com/yzgyyang/luminaimg
- Owner: yzgyyang
- Created: 2019-06-04T21:14:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T06:28:55.000Z (about 2 years ago)
- Last Synced: 2024-11-17T09:55:04.769Z (3 months ago)
- Language: CSS
- Homepage:
- Size: 1.28 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LuminaImg
An image repository.
## Deployment
Have these environmental variables available:
```
export S3_BUCKET=""
export S3_KEY=""
export S3_SECRET=""
```The following environmental variables are optional:
```
export APP_SECRET_KEY="" # default is "dev"
export DB_USER="" # default is "luminauser"
export DB_PASSWORD="" # default is "luminapassword"
export DB_URI="" # default is "localhost:3306"
export DB_NAME="" # default is "luminadb"
```Create an virtual environment:
```
virtualenv env --python=python3
source env/bin/activate
(env) pip install -r requirements.txt
```Run a production server at port 7200:
```
(env) pip install gunicorn
(env) gunicorn --bind 0.0.0.0:7200 app:app
```Finally, run a reverse proxy server ;)