8000 GitHub - takatoh/Sulaiman: Sulaimān - A simple photo uploader.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

takatoh/Sulaiman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sulaimān

A simple photo uploader.

シンプルな画像アップローダーです。スライマーンと読んでください。

Install

GitHub からクローンして

$ git clone https://github.com/takatoh/sulaiman.git

go build します。

$ go build

Usage

ビルドしてできた実行ファイルと config.json.example、それから static をディレクトリごと 適当なディレクトリにコピーします。

confing.json.exmaple を config.json にリネームして、適当に編集します。

{
    "site_name" : "Sulaimān",
    "host_name" : "localhost:1323",
    "port" : 1323,
    "Photo_dir" : "photos",
    "max_photo_count" : 10000
}

画像保存用のディレクトリを作ります。上の例では photos/img と photos/thumb が必要です。

あとは実行するだけです。

$ ./sulaiman

License

MIT License

About

Sulaimān - A simple photo uploader.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0