Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/high-five-dev/base
Easily create a barebones Craft CMS website project.
https://github.com/high-five-dev/base
barebones composer craftcms php project vitejs website
Last synced: 6 days ago
JSON representation
Easily create a barebones Craft CMS website project.
- Host: GitHub
- URL: https://github.com/high-five-dev/base
- Owner: high-five-dev
- License: gpl-3.0
- Created: 2023-09-07T14:25:56.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-19T22:09:34.000Z (about 1 year ago)
- Last Synced: 2024-11-13T00:43:28.487Z (2 months ago)
- Topics: barebones, composer, craftcms, php, project, vitejs, website
- Language: PHP
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Base
Easily create a barebones Craft CMS website project.
## Creating a new project
Before creating a new project, you should ensure that your local machine has PHP, DDev and Composer installed.
After you have installed PHP, DDev and Composer, you may create a new project via the Composer `create-project` command:
composer create-project high-five/base example-website.ext --stability=dev
After the project has been created, start the local development server using the Makefile's `start` command:
cd example-website.ext
make start
The development server should now be running at `https://example-website.ext`. You are ready to install Craft CMS!
make install
## `make` commands
Run `make` or `make help` for an overview of the available commands.
| Command | Description |
|------------------|------------------------------------------------------------------|
| `make ddev` | Start DDEV server |
| `make deps` | Install dependencies |
| `make start` | Start DDEV server and install dependencies |
| `make serve` | Start DDEV server, install dependencies and start NPM dev server |
| `make dev` | Start NPM dev server |
| `make build` | Build for production |
| `make install` | Install Craft CMS |
| `make db-export` | Export the DDEV database to the `./sql/` directory |