https://github.com/jalkoby/upi
Simple file hosting build on top of Martini(Go lang)
https://github.com/jalkoby/upi
Last synced: 11 months ago
JSON representation
Simple file hosting build on top of Martini(Go lang)
- Host: GitHub
- URL: https://github.com/jalkoby/upi
- Owner: jalkoby
- Created: 2014-06-12T06:11:46.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-30T01:49:58.000Z (almost 12 years ago)
- Last Synced: 2025-04-08T09:34:14.784Z (about 1 year ago)
- Language: Go
- Size: 199 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
UPI
===
Simple file hosting build on top of Martini(Go lang)
== Setup process
```bash
~ git clone git@github.com:jalkoby/upi.git
~ cd upi
~ vim .envrc
# content of .envrc
export GOPATH="$(pwd)/.godeps" # optional
export UPI_PASSWORD="*password*"
export AWS_ACCESS_KEY_ID="*aws key*"
export AWS_SECRET_ACCESS_KEY=""
export UPI_UPLOAD="$(pwd)/uploads"
export UPI_PUBLIC_HOST="http://localhost:3000"
export AWS_BUCKET="****"
# content of .envrc
~ direnv allow
~ gpm install
~ go get github.com/codegangsta/gin
~ gin
```