Skip to content

StephenFluin/devfest-mn

Repository files navigation

DevFestMN

This project is an Angular CLI project.

Summary

  1. yarn setup
  2. Create local branch and make changes
  3. ng serve
  4. Submit PR
  5. Merge PR into master
  6. Deployment will happen automatically

Project Setup

When you first checkout the repo, run yarn setup to install all dependencies.

Install Firebase Tools by running npm install -g firebase-tools and run firebase login to authenticate for deployment permissions.

Development Server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Run ng serve -o to have the browser open once the initial build is complete.

Pushing to GitHub

Create a branch and push a pull request to GitHub. Once the PR has successfully built, and has been approved and merged, the update will be automatically be pushed to Firebase Hosting.

Deploying to live http://devfest.mn website

Will happen automatically upon merge to main.

Photo Gallery

Photos should be:

  • Quality at 50%
  • Resize images to fit within 1024x768 while maintaining aspect ratio
find ./src/a/images/gallery -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" -o -iname "*.gif" -o -iname "*.webp" \) -exec sh -c '
    echo "Processing: $1"
    # Create backup with .original extension if it doesn'\''t exist
    if [ ! -f "$1.original" ]; then
        cp "$1" "$1.original"
        echo "Created backup: $1.original"
    fi

    # Compress and resize the image
    convert "$1" -quality 50 -resize "1024x768>" "$1.compressed"

    # Replace original with compressed version
    mv "$1.compressed" "$1"

    echo "Compressed: $1"
    echo "---"
' _ {} \;

About

DevFestMN Conference Website

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5