Skip to content

Commit

Permalink
Update picset file.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgfindl committed Dec 12, 2016
1 parent ea31bef commit 509b36f
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
Use AWS Rekognition to provide a faces search of finpics.com

## Develop locally
npm install local-web-server -g
npm install local-web-server
ws

## Deploy
Install AWS CLI and configure profile credentials.

### Web Assets
aws s3 sync . s3://finpics.com --exclude "photos/*" --exclude ".gitignore" --exclude ".idea/*" --exclude ".git/*" --storage-class REDUCED_REDUNDANCY --profile bluefin
aws s3 sync . s3://finpics.com --exclude "photos/*" --exclude ".gitignore" --exclude ".idea/*" --exclude ".git/*" --exclude "util/*" --exclude "node_modules/*" --exclude "package.json" --dryrun --storage-class REDUCED_REDUNDANCY --profile bluefin

### Photos
aws s3 sync . s3://finpics-pics --exclude "*" --include "photos/*" --storage-class REDUCED_REDUNDANCY --profile bluefin
2 changes: 1 addition & 1 deletion js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function IndexController($scope, $http, $rootScope, config, cache) {
} else {
picsets = {};
$scope.loading = true;
$http.get('/picsets_image.json').then(function (res) {
$http.get('/picset-images.json').then(function (res) {
$scope.loading = false;
picsets = _.map(res.data, function(image) {
var dir = _.split(image, '/')[0];
Expand Down
37 changes: 37 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"name": "finpics",
"version": "1.0.0",
"description": "Use AWS Rekognition to provide a faces search of finpics.com",
"main": "index.js",
"devDependencies": {
"async": "^2.1.4",
"aws-sdk": "^2.7.13",
"local-web-server": "^1.2.6",
"lodash": "^4.17.2",
"winston": "^2.3.0"
},
"scripts": {
"test": "mocha"
},
"repository": {
"type": "git",
"url": "git+https://[email protected]/rgfindl/finpics.git"
},
"keywords": [
"lambda",
"rekognition",
"cognito",
"dynamodb",
"s3",
"route53",
"aws",
"photo",
"album"
],
"author": "[email protected]",
"license": "ISC",
"bugs": {
"url": "https://github.com/rgfindl/finpics/issues"
},
"homepage": "https://github.com/rgfindl/finpics#readme"
}
File renamed without changes.

0 comments on commit 509b36f

Please sign in to comment.