I love it when I get to see first-hand how other people have made great things. I really appreciate the author opening the code up for Photographer.io.
Was just going through the Gemfile, and I love how he broke out the gems in the various categories - from debugging, to databases, to search, to caching to everything else.
It just makes the code so much easier to read and understand.
As a result of this repo, I looked into Slim - but the official docs are awful, so I won't be adopting that any time soon.
I hadn't been promoting it too much until now as I was waiting to get the terms of service sorted out (as lots of photographers are rightly protective of their images).
I'm always keen to hear any feedback you have, and obviously now you can also help contribute to making it the site you want too :D
Oh, this is very nice -- maybe what I need to finally kick the tires of ruby/rails.
What is the minimum to get this up and running locally for test/dev? I know this isn't exactly meant for ruby/rails newbies -- but according to a few searches, (and the readme) it looks like I need:
* postgresql 9+
* redis
* memcached
* solr (is it needed for test/dev?)
* ruby 2.0 and rails 4.0
It looks like a sane way to get a rails 4 dev environment for the local user (on a recent Debian system) is:
It's not entirely straightforward to set up, and I must confess that it has been a while since I did it from scratch. Assuming you already have Ruby installed, then you would definitely need the following: PostgreSQL 9+ (probably 9.2+), Redis, Memcached. Solr probably won't break anything if it doesn't exist, except for the search.
If you have any trouble getting it going or need a hand, give me a shout on Twitter (@robotmay) and I'll open up an IRC channel to help you through it. I might need to do that anyway actually, as I suspect there'll be a few people with issues :D
This is perfect, thank you so much. Two-fold: I opened my site up, too, though for different reasons. I'm glad to see I'm not the only one. Mine isn't anywhere near this awesome, though, and it's just starting! And, I think I'll be able to learn a lot about the proper way to do things by seeing how you did things, like different code patterns and development decisions, etc.
If you have any questions then don't hesitate to ask! Some of what I do is a little different (like using Slim or locales everywhere) and I'm happy to help explain.
Congrats on making the decision to open source this. I'm interested to see how the community will help drive the development of new features. As I'm sure everyone here knows, saying "no" is crucial. It may be a lot harder to say no when a pull request is sitting in your inbox. I would suggest spending some time hammering out a wiki for contribution guidelines, and a development roadmap. I just signed up for an account, and am very excited to see how this progresses!
Edit: One other thing - right now, invites get you more uploads. Depending on how heavy-handed you want to be about good contributions, it might help to require the invitee to upload at least one picture or recommend at least 3 pictures before the inviter gets their additional uploads. That might slow the growth too much though. It's definitely a balance.
If anyone's interested in localising the app for their native language then please let me know (@robotmay). There's near-complete support for I18n throughout the entire app and it should, in theory, be quite straightforward.
I recommend putting it up on http://transifex.com for translation, we use that for ownCloud too. There’s a command-line tool to update strings and to import new translations, and Transifex is open source as well.
[+] [-] DigitalSea|12 years ago|reply
[+] [-] marcamillion|12 years ago|reply
Was just going through the Gemfile, and I love how he broke out the gems in the various categories - from debugging, to databases, to search, to caching to everything else.
It just makes the code so much easier to read and understand.
As a result of this repo, I looked into Slim - but the official docs are awful, so I won't be adopting that any time soon.
But this app is very interesting to read through.
You can tell a lot of work was put into this.
[+] [-] robotmay|12 years ago|reply
It should inspire me to polish up the test suite too; it's very lacking right now!
[+] [-] Andrenid|12 years ago|reply
Have been urgently needing an alternate to Flickr/Picasaweb/500px lately and really haven't liked most the other options out there.
I've signed up for a proper play.
[+] [-] robotmay|12 years ago|reply
I'm always keen to hear any feedback you have, and obviously now you can also help contribute to making it the site you want too :D
[+] [-] e12e|12 years ago|reply
What is the minimum to get this up and running locally for test/dev? I know this isn't exactly meant for ruby/rails newbies -- but according to a few searches, (and the readme) it looks like I need:
It looks like a sane way to get a rails 4 dev environment for the local user (on a recent Debian system) is: So, with the various servers installed, should the line above, paired with a checkout of the repo allow me to do: And have a look at a local install of this thing?[+] [-] robotmay|12 years ago|reply
I've just pushed up what are hopefully some useful instructions on getting it running, so the README should now be a little more helpful: https://github.com/afternoonrobot/photographer-io#developmen...
It's not entirely straightforward to set up, and I must confess that it has been a while since I did it from scratch. Assuming you already have Ruby installed, then you would definitely need the following: PostgreSQL 9+ (probably 9.2+), Redis, Memcached. Solr probably won't break anything if it doesn't exist, except for the search.
If you have any trouble getting it going or need a hand, give me a shout on Twitter (@robotmay) and I'll open up an IRC channel to help you through it. I might need to do that anyway actually, as I suspect there'll be a few people with issues :D
[+] [-] ddoolin|12 years ago|reply
Thanks!
[+] [-] robotmay|12 years ago|reply
[+] [-] jscheel|12 years ago|reply
Edit: One other thing - right now, invites get you more uploads. Depending on how heavy-handed you want to be about good contributions, it might help to require the invitee to upload at least one picture or recommend at least 3 pictures before the inviter gets their additional uploads. That might slow the growth too much though. It's definitely a balance.
[+] [-] robotmay|12 years ago|reply
[+] [-] jancborchardt|12 years ago|reply
[+] [-] camus|12 years ago|reply