PickleCMS is a powerful content management system utilizing Laravel, Svelte, and Inertia to deliver a seamless developer experience.
Important Notes:
- Inertia 2.0 is currently in beta but is stable enough for use.
- This repository uses Laravel Sail, which leverages Docker to create a complete development environment.
- Do not delete the
.env.example
file. It contains the necessary environment configurations that developers can copy and modify as needed.- You will need to install php php-xml composer to do a composer install the first time you clone this project in order to install sail, then after that you can run sail composer for managing the project.
To start, add this alias to your .bashrc
or .zshrc
:
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'
Follow these steps to get your project up and running:
This script will clone the repository, set up the
.env
file, and generate anAPP_KEY
for encrypting cookies.
git clone [email protected]:saintpickle/picklecms.git
cd picklecms
cp .env.example .env
composer install
sail up -d
sail pnpm install
sail artisan key:generate
sail artisan migrate
Refer to the Laravel Documentation for detailed information on Laravel commands. The Sail environment includes various toolchains such as Node, Bun, pnpm, and npm. You can run these commands using the Sail prefix. Note: These are examples to run, not a script.
- Note: These are examples of commands you can run inside the sail environment
# Create a new controller
sail artisan make:controller MyController
# Install dependencies with pnpm
sail pnpm install
# Install dependencies with composer
sail composer install