cnj/statamic

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
There is no license information available for the latest version (dev-master) of this package.

Statamic


README

Statamic Logo

Statamic v3 CNJ Starter

Statamic 3 is the very latest and greatest version of Statamic, a uniquely powerful CMS built on Laravel and designed to make building and managing bespoke websites radically efficient and enjoyable.

For more information visit the [Statamic core package repository][https://github.com/statamic/cms].

Documentation

The offical documentation for v3 is available here. Due to lack of information please revise the v2 docs as well, as they share some similarities.

You can find more code snippets and common solutions to problems by visiting the Statamic Handbook (WIP).

Installation

composer create-project cnj/statamic --stability=dev project-name

At the last prompt, select Y, to remove the included git files.

By default we have 1 user

Email: info@cnj.si

Password: password

You can create additional users by running: (this requires a license)

php please make:user

Link storage

php artisan storage:link

Edit the .env

Enter the APP_URL and APP_NAME

vi .env

Setup git

git init

Add the appropriate remote GitHub repository

Development

Password recovery emails

By default on Statamic, editors with no user permissions can't change their own password. This is why we have to setup email sending for password recovery. By Default the Sendgrid driver is included with all the required configuration. Make sure to set the appropriate env options for the Sendgrid mailer to work:

...
MAIL_MAILER=sendgrid
SENDGRID_API_KEY="PASTE_API_KEY_HERE"
...

Frontend

Latest TailwindCSS is already included. Purge in production is set up.

npm run watch

Deployment

Follow the Forge guide on the wiki.