GithubHelp home page GithubHelp logo

craft's Introduction

ย 

Craft CMS logo

About envsa/craft

This is an alternate scaffolding package for Craft 3 CMS projects to Pixel & Tonic's canonical craftcms/craft package.

This project has been built following base principals from Andrew Welch's scaffolding project nystudio107/craft package (as at version 2.1.1).

Using envsa/craft

This project package works exactly the way Pixel & Tonic's craftcms/craft package works; you create a new project by first creating & installing the project:

composer create-project envsa/craft PATH

Make sure that PATH is the path to your project, including the name you want for the project, eg.:

composer create-project envsa/craft craft3

Say no when prompted to start the craft setup, then cd to your new project directory.

cd PATH

The next step will depend on your local dev setup, we'll be using nitro.

nitro add
  • Hostname: [craft3.nitro]
  • Web root: [web]
  • PHP version: [7.4]
  • Add a db for the site: [Y] [craft3]
  • Update the .env file: [Y]
  • Apply changes [Y]

You will also need to update the .env file with the SITE_URL that you chose for the hostname.

nitro db import starterbase.sql

When prompted use the db that you specified in the previous step [craft3]

Run Craft's setup console command to create your environment:

./craft setup

Finally we need to build our assets.

nvm use
npm install
npx install-peerdeps --dev @envsa/eslint-config
npm run build

You should be ready to go, visit the your url and test it out.

Pre git checklist

Get contents of of config/license.key and add them to the environment variable.

Uncomment line 22 of ./craft and web/index.php

Remove starterbase.db

Default login

craft's People

Contributors

rellafella avatar minalove avatar

Watchers

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