sterc / skeleton
v1.0.10
2023-10-17 08:42 UTC
Requires
- sterc/coding-standards: ^5.0
- sterc/skeleton-base: ^4.0
README
This is a public installer for Sterc skeleton, using the sterc/skeleton-base package (https://bitbucket.org/sterc/skeleton-base/). The composer package for this is here: https://packagist.org/packages/sterc/skeleton This will install the skeleton-base package in your project webroot folder using composer, and also copy all the needed files from the vendor folder to the root folder.
Installation - new project
- Create a new project directory on your local environment, for example
www/my-project.nl
- Run command
composer create-project sterc/skeleton webroot
This will install the composer package for sterc/skeleton insidewebroot
folder. Also thepost-create-project.sh
script will be executed, which will copy the needed files from the vendor folder to the root folder. - If you only need the frontend files, you're done! The source js and scss files are located in the
src
folder, and the html files are inwebroot/html
folder. For compiling the js and scss files, runnpm install
andnpm run dev
from the root folder. - For installing MODX, the MODX skeleton and modules run the following command:
php webroot/vendor/bin/skeleton skeleton:install
This script will then guide you through the installation process.