Giter Club home page Giter Club logo

craft-contentfield-examples's Introduction

Content Field examples

This repository contains a series of small usage examples of the the Content Field plugin for Craft CMS.

Prerequisites

In order to run the examples, you'll need a web server and an empty database that meets the requirements of Craft CMS.

Installation

This demo includes a project.yaml file and a setup script that will execute once you install the CMS. After cloning this repository, you can follow the official installation instructions starting at step 2.

Command line setup

  1. Clone this repository.

    $ git clone [email protected]:sebastian-lenz/craft-contentfield-examples.git
  2. Run the setup script, the script will collect all required information and setup the database.

    $ cd craft-contentfield-examples
    $ ./craft setup
  3. Setup a web server and point the document root to craft-contentfield-examples/web.

Manual setup

  1. Download a copy of this repository and unzip it.
    https://github.com/sebastian-lenz/craft-contentfield-examples/archive/master.zip

  2. Within the unzipped folder, copy the file .env.example to .env.

  3. Open the newly created file .env with a text editor and find the line that contains the security key. Set the key to a random password.

    # The secure key Craft will use for hashing and encrypting data
    SECURITY_KEY=""
    

    If you wish to, you can also fill in the database configuration. Save the file afterwards.

  4. Setup a web server and point the document root to the folder web inside the unzipped folder.

  5. Open a web browser and visit http://<Hostname>/index.php?p=admin/install (replace <Hostname> with your web server’s host name) and follow the instructions.

Questions and feedback

You can find the primary repository of the Content Field plugin here:

https://github.com/sebastian-lenz/craft-contentfield

Please post any questions or issues there.

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.