A Craft CMS starter used for new sites built by the Mostly Serious team. It's designed to pair with our build tool, Vitepack.
- node >= 16.0
- php >= 8.0.2
- mysql >= 5.7.8
- composer >= 2.0
More detailed instructions can be found in the MS Craft Package Guide.
-
Copy
.env.exampleto.env -
Install php dependencies
composer install
-
Create mysql database and import a SQL dump
- You can get a SQL dump from prod by logging into the admin and going to Utilities > Backup Database
-
Fill in the database credentials in the
.envfile -
Install front-end dependencies Currently, installation requires Yarn to work properly.
yarn- Build front-end dependencies
yarn buildor
npm run build- Startup a php server by using Craft's
servecommand, or use a local.testdomain with Laravel Valet.
php craft serve