GithubHelp home page GithubHelp logo

melmora's Introduction

Melmora web page

How to install

make install

How to run locally

make start

How to build

 make build

How to deploy

Obtain credentials from the web-admin for AWS account

 make update

Gallery

  • Albums are added under public/albums
  • Each sub directory will create an album
  • Photos are expected to have sequential number from 1...n (sh rename.sh albums/ALBUM_NAME)
  • Create thumbnails using Quick Action (https://havecamerawilltravel.com/macos-automator-generate-thumbnails/)
  • The album names and the image count is configured in public/config/albums.json

Update an album

Rename the files

sh rename.sh ./public/albums/[ALBUM_NAME]]

Upload to S3

This will automatically create thumbnails in the same directory in S3

aws s3 cp [LOCAL] s3://www.umaav.org.au/albums/[DESTINATION]]/  --profile umaav --region ap-southeast-2  --recursive
aws s3 cp ~/Downloads/Melmora2022DD/ s3://www.umaav.org.au/albums/2022_Dinner_Dance/  --profile umaav --region ap-southeast-2 --recursive

Verify the files are there and thumbnails are created.

aws s3 ls s3://www.umaav.org.au/albums/2024_Dinner_Dance/ --profile umaav --region ap-southeast-2
```


## Update the config
See the `./config/albums.json` file and udpate config by adding following entry. Here the `count` is the total number of files in the almbumn
  ```{
    "name": "2023_Dinner_Dance",
    "count": 519
  },```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.