heyblackmagic / foundation
Installs: 64
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:project
Requires
- craftcms/ckeditor: 3.8.0
- craftcms/cms: 4.7.3
- nystudio107/craft-vite: 4.0.8
- sebastianlenz/linkfield: 2.1.5
- spicyweb/craft-quick-field: 2.0.7
- vlucas/phpdotenv: ^5.4.0
Requires (Dev)
- yiisoft/yii2-shell: ^2.0.3
README
Craft CMS 4 Foundation
Getting started
Run composer create-project heyblackmagic/foundation ./PATH
to create your Craft CMS instance.
Setup
After installing and configuring your Craft CMS instance, set the ./public_html directory as the project webroot. For example, if your virtual host is "http://foundation.test", run the following in your terminal:
~/Sites/foundation main ❯ cd public_html && valet link foundation
IMPORTANT
Your project URL, whether local, staging or production, MUST NOT include a trailing slash. Check that the PRIMARY_SITE_URL
y VITE_DEV_URL
variable in the .env
follows this recommendation.
Example: ❌ http://foundation.test/
Command reference
- Run
npm run dev
to watch files to start development. - Run
npm run build
to build assets.