houzhiqiang / photo_album

photo album / 相册

Github PK Tool:Github PK Tool

Repository from Github https://github.com/houzhiqiang/photo_albumRepository from Github https://github.com/houzhiqiang/photo_album

photo_album's ContributorsOctNovDecJanFebMarAprMayJunJulAugSepOctSunMonTueWedThuFriSat

photo_album

album/相册

  • 测试

    git clone https://github.com/houzhiqiang/photo_album.git
    cd photo_album
    cp config.py local_config.py
    python3 -m venv venv
    source venv/bin/activate
    pip install -U -r requirements.txt
    

    编辑 local_config.py 修改配置

    运行测试

    python photo.py
  • 运行:

    编辑photo_album.gunicorn.conf.py文件 修改配置

    -D 参数放到后台运行

    gunicorn -c photo_album.gunicorn.conf.py photo:app -D

About

photo album / 相册


Languages

Language:HTML 65.3%Language:Python 34.7%