All Projects → pixelandtonic → Ontherocks

pixelandtonic / Ontherocks

Projects that are alternatives of or similar to Ontherocks

Craft Copy
Deployment tools for Craft on fortrabbit
Stars: ✭ 64 (-42.34%)
Mutual labels:  craftcms
Upper
Integrates Edge Caches like Fastly, KeyCDN, Cloudflare and Varnish with Craft.
Stars: ✭ 89 (-19.82%)
Mutual labels:  craftcms
Craft Preparse Field
Field type that parses twig when an element is saved.
Stars: ✭ 103 (-7.21%)
Mutual labels:  craftcms
Generator Craftplugin
generator-craftplugin is a Yeoman generator for Craft CMS plugins
Stars: ✭ 69 (-37.84%)
Mutual labels:  craftcms
Craft.doxter
Markdown editor and parser for Craft CMS
Stars: ✭ 80 (-27.93%)
Mutual labels:  craftcms
Buttonbox
A collection of utility field types for Craft
Stars: ✭ 94 (-15.32%)
Mutual labels:  craftcms
Generator Craftinstall
DEPRECATED generator-craftinstall is a Yeoman generator for Craft CMS installs
Stars: ✭ 57 (-48.65%)
Mutual labels:  craftcms
Plugins
The master list of Craft 3-compatible plugins
Stars: ✭ 111 (+0%)
Mutual labels:  craftcms
Craft User Manual
📚 Help Section Plugin for Craft CMS.
Stars: ✭ 83 (-25.23%)
Mutual labels:  craftcms
Instantanalytics
DEPRECATED Instant Analytics brings full Google Analytics support to your Twig templates and automatic Craft Commerce integration with Google Enhanced Ecommerce.
Stars: ✭ 103 (-7.21%)
Mutual labels:  craftcms
Focalpointfield Craft
Give your assets a focal point. They deserve it.
Stars: ✭ 72 (-35.14%)
Mutual labels:  craftcms
Craft Async Queue
Async Queue Handler for Craft 3
Stars: ✭ 80 (-27.93%)
Mutual labels:  craftcms
Craftcms Docker
Craft3/Craft2 CMS Docker base (Nginx, PHP-FPM 8, PostgreSQL/MariaDB, Redis)
Stars: ✭ 99 (-10.81%)
Mutual labels:  craftcms
Craft Inventory
Inventory plugin for Craft CMS
Stars: ✭ 65 (-41.44%)
Mutual labels:  craftcms
Craft Quick Field
Create fields on the fly while designing field layouts
Stars: ✭ 104 (-6.31%)
Mutual labels:  craftcms
Craft Helpers
Helpers plugin for Craft CMS
Stars: ✭ 58 (-47.75%)
Mutual labels:  craftcms
Craft.patrol
Patrol simplifies SSL and maintenance routing for sites built with Craft
Stars: ✭ 91 (-18.02%)
Mutual labels:  craftcms
Minify
DEPRECATED A simple plugin that allows you to minify blocks of HTML, CSS, and JS inline in Craft CMS templates
Stars: ✭ 111 (+0%)
Mutual labels:  craftcms
Craft Asset Rev
A Craft CMS plugin to help with cache busting
Stars: ✭ 109 (-1.8%)
Mutual labels:  craftcms
Guest Entries
Accept anonymous entry submissions with Craft.
Stars: ✭ 100 (-9.91%)
Mutual labels:  craftcms

On the Rocks Craft demo site

This repo contains all of the templates, front-end resources, and a MySQL DB dump for On the Rocks, a demo site built with Craft.

It has the following features:

  • Multiple sections (“Cocktails”, “Ingredients”, and “Blog”)
  • A local asset source (“Drinks”)
  • A Links field pointing to the Drinks asset source, used by the Cocktails and Ingredients sections
  • A Links field pointing to entries in the Ingredients section, used by the Cocktails section
  • A global set called “Homepage” for editing the homepage fields
  • A global set called “Globals” with a “Meta Description” field for editing the <meta name="description"> tag’s content attribute
  • A single layout template which all other site templates extend
  • Front-end user registration, login, and password resetting
  • A custom 404 template

Editions

The site is running the Pro Edition of Craft and as long as you’re running the site from http://ontherocks.dev, you can use all of the features if provides for free for an unlimited time. You will even have the option to install the Client or Personal Editions, if you want to play around with them.

Installation

To get On the Rocks running locally, follow these instructions:

  1. Download/clone the repo on your computer

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

     $ cd ontherocks
     $ chmod 777 craft/storage/
    
  3. Set the permissions on 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 craft/config folder. (See the Craft installation docs for details.)

     $ chmod 774 craft/config
    
  4. Download the latest version of Craft from buildwithcraft.com

     $ curl -L http://download.buildwithcraft.com/craft/2.0/2.0.2525/Craft-2.0.2525.zip -o /tmp/Craft.zip
    
     *Note:* In the above example, replace the version (2.0) and the build (2525) numbers with the latest from http://buildwithcraft.com/updates
    
     $ unzip /tmp/Craft.zip -d BaseCraft
    
  5. Move the craft/app/ folder from Craft.zip into ontherocks/craft/

     $ cp -R BaseCraft/craft/app craft/app
     $ rm -R BaseCraft && rm /tmp/Craft.zip
    
  6. Create a new MySQL database called “ontherocks”

     $ mysql -u root -p
     Enter password:
     mysql>
    
    CREATE DATABASE ontherocks CHARACTER SET utf8 COLLATE utf8_unicode_ci;
    GRANT ALL ON ontherocks.* TO 'rocks_user'@'localhost' identified by 'letmein';
    FLUSH PRIVILEGES;
    USE ontherocks;
    

    This can also be done via a management tool like phpMyAdmin.

  7. Import SQL/ontherocks.sql into your new database

    mysql>source SQL/ontherocks.sql
    
  8. Fill in the proper MySQL credentials in craft/config/db.php (from step 6)

  9. Create a new virtual host with the hostname “ontherocks.dev” that points to the public/ folder

  10. Edit your hosts file to resolve ontherocks.dev to 127.0.0.1, if necessary

Now you should be able to point your web browser to http://ontherocks.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://ontherocks.dev. You should see the On the Rocks homepage.

Logging in

The Craft CP is located at http://ontherocks.dev/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].