Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jokull/scrup-s3
https://github.com/jokull/scrup-s3
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jokull/scrup-s3
- Owner: jokull
- Created: 2012-11-15T14:38:37.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-15T15:03:42.000Z (about 12 years ago)
- Last Synced: 2024-12-17T03:58:33.090Z (15 days ago)
- Language: Python
- Size: 105 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Scrup S3
========A simple server to receive [Scrup](https://github.com/rsms/scrup) screenshots,
upload to S3 and return a public viewable URL to the image.+ Ready for Heroku
+ Minimal code, easy to understand and customizeSetup
-----1. Clone and `cd scrup-s3`
2. `$ virtualenv venv`
3. `$ heroku create scrup-xxxx`
4. `$ touch .env`Sample `.env`
AWS_ACCESS_KEY_ID=...
AWS_SECRET_ACCESS_KEY=...
PORT=8000
S3_BUCKET=s3.solberg.is
S3_CNAME=s3.solberg.isYou can omit the `S3_CNAME` if you haven’t set one up.
Test
----$ source venv/bin/activate
$ pip install -r requirements.txt
$ foreman startPoint your current scrup to localhost:8000 and try Ctrl+Shift+4-ing something.
Deploy
------$ heroku config:push
$ git push heroku master