- MongoDB (GridFS)
- Python + pymongo
- ImageMagick or + magickwand or PIL
- Nginx + uWSGI
-
mongodb:
mongo localhost/storage
db.createCollection("img.files",{autoIndexId:false}); db.img.files.ensureIndex({md5:1},{background:true, unique:true, dropDups:true});
-
nginx: add config/nginx/host.imsto.conf to nginx.conf
include /opt/imsto/config/nginx/host.imsto.conf;
vim /etc/hosts
127.0.0.1 m.imsto.net 127.0.0.1 man.imsto.net
-
uwsgi: there have two socket service
start image handle: ./server_image.sh start start manage handle: ./server_man.sh start
-
open url http://man.imsto.net/
- store tool (closed 60%)
(web) gallery manager(web) image upload- permisions
- demo: http://demo.imsto.org:81/