Giter Site home page Giter Site logo

italoadler / happylager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from generativa/happylager

0.0 2.0 0.0 8.15 MB

Craft CMS demo site

Home Page: https://demo.craftcms.com

ApacheConf 0.02% PHP 0.15% HTML 25.72% JavaScript 0.15% PLpgSQL 66.96% CSS 7.00%

happylager's Introduction

Happy Lager - Craft demo site

This repo contains all of the templates, front-end resources, and a MySQL DB dump for Happy Lager, a Craft demo site.

You can find out more about Craft on craftcms.com.

Features

Happy Lager takes advantage of several Craft features:

Sections

The content in Happy Lager is managed from the following sections:

  • Four “Single” sections:
    • Homepage
    • About
    • Services Index
    • Work Index
  • Two “Channel” sections:
    • News
    • Work
  • Two “Structure” sections:
    • Locations
    • Services

ℹ️ Watch the Section Types video for an overview of the difference between Singles, Channels, and Structures in Craft.

Entry Types

The News section has two Entry Types:

  • Article – used to store news articles
  • Link – used to store links to articles on other websites

ℹ️ Watch the Entry Types video for an overview of Entry Types in Craft.

Matrix Fields

This site has the following Matrix fields:

  • Article Body – used to store the varying content of the About page and News, Services, and Work entries.
  • Contact Methods – used to store Locations’ various contact methods.
  • Services Body – used to store information about the Services.
  • Testimonials – used to store the Homepage testimonials.

ℹ️ Watch the Matrix video for an overview of Matrix in Craft.

Relations

This site has the following relational fields:

  • Services Performed (Entries) – used to relate Work entries to the relevant Services entries.
  • Client Logos (Assets) – used to related the Homepage to the logos that should be displayed in the “Our Best Drinking Buddies” section.
  • Featured Image (Assets) – used to relate a featured image to News, Work, Services, and Locations entries.
  • Featured Thumb (Assets) – used to relate a featured thumbnail to Work entries.
  • Hero Image (Assets) – used to relate a hero image to the Homepage.
  • Service Icon (Assets) – used to relate an icon to Services entries.
  • There are additional Assets fields within the “Article Body” and “Service Body” Matrix fields.

ℹ️ Watch the Relations video for an overview of Relations in Craft.

Assets

This site has the following Asset Sources;

  • Site Assets – used to store all miscellaneous site imagery.
  • Company Logos – used to store the company logos that are displayed on the Homepage.
  • Service Icons – used to store Services’ icons.

Installation

You can check out Happy Lager online from demo.craftcms.com.

If you want to install the site locally, follow these instructions:

  1. Download/clone the repo on your computer

     > git clone https://github.com/pixelandtonic/happylager.git
    
  2. Set the permissions on happylager/craft/storage/ to 777

     > cd happylager
     > chmod 777 craft/storage
    
  3. Set the permissions on happylager/craft/config/ to 744, 774, or 777 depending on the relationship between the user that Apache/PHP is running as and the user who owns the happylager/craft/config folder. (See the Craft installation docs for details.)

     > chmod 774 craft/config
    
  4. Download the latest version of Craft from craftcms.com, and copy its craft/app/ folder into happylager/craft/.

  5. Create a new MySQL database called happylager, and import happylager.sql into it.

  6. Fill in the proper MySQL credentials in happylager/craft/config/db.php.

  7. Create a new virtual host with the hostname happylager.dev that points to the happylager/public/ folder.

  8. Edit your hosts file to resolve happylager.dev to 127.0.0.1, if necessary.

Now you should be able to point your web browser to http://happylager.dev/admin. You should either see a Craft login screen, or a prompt telling you that some database updates need to be run. If it’s the latter, just click “Finish up”.

Now point your browser at http://happylager.dev. You should see the Happy Lager homepage.

Logging in

The Craft Control Panel is located at http://happylager.dev/admin. You can log in with the following credentials:

  • Username: admin
  • Password: password

happylager's People

Contributors

brandonkelly avatar mrjasonweaver avatar angrybrad avatar thetemplateblog avatar stephanosuh avatar ryanwinchester avatar

Watchers

Italo Adler avatar James Cloos 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.