Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
/ photo_albums Public archive

A webapp to view photos and organize them into albums.

License

Notifications You must be signed in to change notification settings

adamstegman/photo_albums

Repository files navigation

Photo Albums

A webapp to view photos and organize them into albums.

And a learning experience for me to play with Ember.

Development

Set up your environment by installing all the dependencies:

brew bundle
bundle install
npm install -g bower
bower install

Create a self-signed certificate for local SSL and put the .key and .crt in the config/ folder. Then run foreman start -f Procfile.dev to launch the server at https://localhost:3000/.

Run all the tests with bundle exec rake. Run individual Ruby tests with bundle exec rspec spec/.... Run JavaScript tests by going to http://localhost:8888/.

Feature tests

If you want to do live feature tests using an AWS account, set up the same environment variables as in deployment, but additionally include:

  • LIVE_FEATURE_SPECS (set this to anything)
  • TEST_ACCESS_KEY_ID
  • TEST_SECRET_ACCESS_KEY

The purpose of the separate access keys is to separate uploading and downloading permissions.

Missing pieces

You must provide some pieces yourself:

  • privacy policy - app/views/static_pages/privacy.html

Deployment

Deployed on Heroku using the multi-buildpack according to these instructions.

You'll need to create the following environment variables:

  • AWS_REGION
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY

About

A webapp to view photos and organize them into albums.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published