All Projects → craftcms → Demo

craftcms / Demo

Licence: 0bsd
“Happy Lager” Craft CMS demo site.

Projects that are alternatives of or similar to Demo

Plpgsql check
plpgsql_check is linter tool for language PL/pgSQL (native language for PostgreSQL store procedures).
Stars: ✭ 322 (-55.89%)
Mutual labels:  plpgsql
Practical Sql
Code and Data for the book "Practical SQL" by Anthony DeBarros, published by No Starch Press (2018).
Stars: ✭ 392 (-46.3%)
Mutual labels:  plpgsql
Audit Trigger
Simple, easily customised trigger-based auditing for PostgreSQL (Postgres). See also pgaudit.
Stars: ✭ 493 (-32.47%)
Mutual labels:  plpgsql
Craft Scripts
Shell scripts to manage database backups, asset backups, file permissions, asset syncing, cache clearing, and database syncing between Craft CMS environments
Stars: ✭ 338 (-53.7%)
Mutual labels:  craftcms
Seomatic
DEPRECATED A turnkey SEO implementation for Craft CMS 2.x that is comprehensive, powerful, and flexible
Stars: ✭ 366 (-49.86%)
Mutual labels:  craftcms
Vector Datasource
Tilezen vector tile service - OpenStreetMap data in several formats
Stars: ✭ 427 (-41.51%)
Mutual labels:  plpgsql
Postgres Json Schema
JSON Schema validation for PostgreSQL
Stars: ✭ 319 (-56.3%)
Mutual labels:  plpgsql
Postgrest Starter Kit
Starter Kit and tooling for authoring REST API backends with PostgREST
Stars: ✭ 657 (-10%)
Mutual labels:  plpgsql
Craft Neo
A Matrix-like field type for Craft CMS that uses existing fields
Stars: ✭ 387 (-46.99%)
Mutual labels:  craftcms
Element Api
Create a JSON API/Feed for your elements in Craft.
Stars: ✭ 493 (-32.47%)
Mutual labels:  craftcms
100daysofiac
100 Days of IaC in Azure
Stars: ✭ 347 (-52.47%)
Mutual labels:  plpgsql
103976
103976个英语单词库(sql版,csv版,Excel版)包含英文单词,中文翻译,单词的词性及多种词义,执行SQL语句就可以生成表,支持SQL Server,MySQL等多种数据库
Stars: ✭ 361 (-50.55%)
Mutual labels:  plpgsql
Awesome
A collection of awesome Craft CMS plugins, articles, resources and shiny things.
Stars: ✭ 449 (-38.49%)
Mutual labels:  craftcms
Hioshop Server
海风小店,开源商城,微信小程序商城服务器端
Stars: ✭ 331 (-54.66%)
Mutual labels:  plpgsql
Node Sqlite3
Asynchronous, non-blocking SQLite3 bindings for Node.js
Stars: ✭ 5,083 (+596.3%)
Mutual labels:  plpgsql
Cgasm
We're insanely passionate about command line asm documentation in the cloud, and we're crushing it!
Stars: ✭ 321 (-56.03%)
Mutual labels:  plpgsql
Pg Shortkey
YouTube-like Short IDs as Postgres Primary Keys
Stars: ✭ 402 (-44.93%)
Mutual labels:  plpgsql
Blog
Everything about database,business.(Most for PostgreSQL).
Stars: ✭ 6,330 (+767.12%)
Mutual labels:  plpgsql
Pgtap
PostgreSQL Unit Testing Suite
Stars: ✭ 631 (-13.56%)
Mutual labels:  plpgsql
Mixerp
Open Source ERP, HRM, MRP, MPS
Stars: ✭ 472 (-35.34%)
Mutual labels:  plpgsql

Craft demo site

This repo contains all of the templates, front-end resources, and a MySQL database backup for “Happy Lager”, a Craft demo site.

You can find out more about Craft at 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

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

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.

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.

Assets

This site has the following asset volumes:

  • 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/craftcms/demo.git happylager.test
    
  2. Run composer install within the clone:

    cd happylager.test
    composer install
    
  3. Copy the .env.example file at the root of the project to .env, and set its DB_SERVER, DB_USER, and DB_PASSWORD variables to the correct values. (If you’re on a Mac, you may need to type Command + Shift + . in Finder to show hidden files.)

  4. Ensure that the following files and directories have permissions that will allow PHP to read and write to them:

    • .env
    • composer.json
    • composer.lock
    • config/license.key
    • storage/*
    • vendor/*
    • web/cpresources/*
  5. Run this command in the CLI from your project's root to automatically generate a security key for the site: php craft setup/security-key

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

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

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

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

Logging in

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

  • Username: admin
  • Password: password
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].