Git Product home page Git Product logo

build-book's Introduction

Composer Based Skeleton for concrete5 sites

Latest Version on Packagist Software License Build Status Total Downloads

Creating a new project

First choose a name for your project. In this example, our project is called "the_oregon_trail"

$ composer create-project -n concrete5/composer the_oregon_trail

Now you have the latest version of concrete5 and you're ready to install!

Note: This is a skeleton project. So once you create a project, you can install your own VCS and change the README and all that.

Starting with the concrete5 latest develop

First create a new project

$ composer create-project -n concrete5/composer the_oregon_trail

Then navigate into that project and require the dev-develop version of concrete5/core

$ cd the_oregon_trail
$ composer require concrete5/core:dev-develop

Installing concrete5

Navigate into your new concrete5 project

$ cd the_oregon_trail

and use the interactive install commmand that comes with concrete5's CLI tool

$ ./vendor/bin/concrete5 c5:install -i

Follow directions and your site will begin installing!

Note: You can also run the CLI tool directly with PHP

$ ./public/concrete/bin/concrete5

Install a concrete5 package using composer

Find the package you'd like to install on packagist.org (in this case concrete5/sample_composer_package)

Note: You can also use composer's repository functionality to manage private packages using composer

$ composer require concrete5/sample_composer_package
$ ./vendor/bin/concrete5 c5:package-install sample_composer_package

Compiling JS / CSS assets

This library uses Laravel Mix. See webpack.mix.js. Using Yarn run (If you're using NPM instead, just swap yarn for npm.):

yarn install
yarn dev

To compile assets for development.

Do you want to install an add-on that is free in the concrete5 marketplace, but not on packagist.org? Go to https://composer.concrete5.org.

build-book's People

Contributors

aembler avatar dependabot[bot] avatar

Watchers

John Steele avatar Neustradamus avatar  avatar James Cloos avatar Korvin Szanto avatar Franz Maruna 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.