|
@@ -1,3 +1,34 @@
|
|
|
# flickrlicense
|
|
|
|
|
|
-A thingy to update Flickr photo licenses
|
|
|
+A thingy to update Flickr photo licenses
|
|
|
+
|
|
|
+## Dependencies
|
|
|
+
|
|
|
+* [Ruby]
|
|
|
+ * [Bundler]
|
|
|
+
|
|
|
+[Ruby]: https://www.ruby-lang.org/
|
|
|
+[Bundler]: https://bundler.io/
|
|
|
+
|
|
|
+## Setup
|
|
|
+
|
|
|
+Install dependencies:
|
|
|
+
|
|
|
+```bash
|
|
|
+bundle install
|
|
|
+```
|
|
|
+
|
|
|
+Copy `config.sample.yml` to `config.yml` and replace field values with a [Flickr
|
|
|
+API key and secret] and a generated random session secret.
|
|
|
+
|
|
|
+[Flickr API key and secret]: https://www.flickr.com/services/apps/by/me
|
|
|
+
|
|
|
+Start the server:
|
|
|
+
|
|
|
+```bash
|
|
|
+bundle exec rackup
|
|
|
+```
|
|
|
+
|
|
|
+The app should now be running at [localhost:9292] and you can login with your Flickr account.
|
|
|
+
|
|
|
+[localhost:9292]: http://localhost:9292/
|