Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.