GithubHelp home page GithubHelp logo

alexdunae / yana Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 6.98 MB

YANA Public Website

Home Page: http://www.yanacomoxvalley.com/

PHP 82.14% CSS 15.75% JavaScript 0.55% Ruby 0.43% CoffeeScript 0.90% Shell 0.15% ApacheConf 0.08%

yana's Introduction

YANA Web Site

Development

First time:

cd ~/Sites/yana
bundle install

In terminal:

cd ~/Sites/yana
bundle exec guard

Preview the site at localhost/yana/www.

Everything relating to the site in progress is in the www/wp-content/themes/yana directory.

WordPress and version control

WordPress is a git submodule. We don't deploy any of the core WP files, just the theme.

To upgrade the local version of WordPress to whatever is the latest, run:

cd wordpress
git checkout master
git pull

To upgrade the local version of WordPress to a tagged release, run:

cd wordpress
git fetch --tags
git checkout 3.7

WordPress setup

  1. Install WordPress on the remote host
  2. Configure Wordpress
    • Thumbnails: 288x (no cropping)
    • Medium images: 309x
    • Large images: 618x
    • Permalinks
  3. Install and activate the Advanced Custom Fields plugin
    • Import the field definitions from the advanced-custom-field-export.xml file in the YANA theme directory
  4. Create a post category for "Thank Yous" with the slug thanks
  5. Create event types (categories) for "Events" with the slugs featured, standard and third-party
    • Any events tagged in other (or no) categories will be assumed to be standard
    • Event type descriptions will be printed above the event TOC
    • Only events tagged featured or standard will be included in the sidebar nav
    • third-party events aren't linked from the TOC or listed in the sidebar nav

Deployment

Make sure everything is looking tight. Check a few links. Then, from terminal (in a new tab maybe?):

./deploy.sh

Generating the icon font

The font is generated via Icomoon.io. Upload stylesheets/fonts/icomoon.dev.svg to that web app to edit the font.

TODO

All uploaded images must be >618px wide.

Phone number in footer Favicon Social icons Caching Title tags Proper map embeds (http://yana.dialect.ca/get-support/vancouver/) Maybe... hover states on home circles

Lock down ledes and titles Get support emergency info callout? Photo loading

yana's People

Watchers

 avatar  avatar  avatar

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.