Giter Site home page Giter Site logo

octobercms-skeleton's Introduction

October skeleton for development

This skeleton is based on laravel-sail has packages for compliance with PSR-12 standards, as well as auxiliary packages for standard control. The main purpose of the project is to quickly deploy and configure the development environment and the system itself.

Includes:

  1. OctoberCMS 1.1 (Based on Laravel 6)
  2. Laravel-Sail (fork https://github.com/LeMaX10/sail)
  3. fakerphp/faker
  4. GrumPHP
  5. PHPUnit
  6. PHP CS Fixer 2
  7. PHPMND

Required:

  1. Composer 1/2
  2. PHP 7.4
  3. Docker
  4. Docker-compose
  5. git

Installation

  1. Clone project:
git clone https://github.com/LeMaX10/octobercms-skeleton.git .
  1. Setup project

To set up the project, you need to change the key variables {author}, {projectName} in the configuration files. For this purpose, a build.sh file has been created that allows you to do this in Linux systems. You must call the build.sh and pass it the author's alias and the project name as parameters:

Example:

chmod +x build.sh && ./build.sh lemax10 example-project

The script will configure the project, as well as create a directory for the developer plugins/{author} and clone the standard demo OctoberCMS theme

  1. Install composer dependency
composer install --no-scripts
  1. Run sail project
vendor/bin/sail up -d
  1. Generate APP_KEY
APP_KEY=$(vendor/bin/sail artisan key:generate --no-ansi --show) sed -i -e "s/APP_KEY=/APP_KEY=${APP_KEY}/g" .env
  1. Restart and install october
vendor/bin/sail restart && vendor/bin/sail artisan october:up

Password administrator show from complete install.

octobercms-skeleton's People

Contributors

lemax10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.