- Install Laravel Herd
- Configure "Herd paths" in Laravel Herd's general settings
- Install Imagick (if on Windows)
- Clone this repository into the Herd path.
- If you clone without
--recurse-submodules, rungit submodule update --init --recursiveto fetch thecontent,users,resources/formsand assets submodules.
- If you clone without
- Create a copy of the
.env.examplefile as.env. - Add any sensitive data to the relevant variables in
.env(e.g.,GOOGLE_MAPS_API_KEY). - Run
composer install - Run
php please make:user - Run
npm i&&npm run dev:with-cp - Run
npx --no-install puppeteer browsers install chrome-headless-shell. News release PDFs need this browser, andnpmdoes not download it because.npmrcsetsignore-scripts=true. Without it a publishednews_releasesaves with no PDF and the reason is only instorage/logs/laravel.log.node scripts/worktree-slots.mjs statusnames the browser when it is missing. - Go to http://uams-statamic.test/ and click "Generate App Key"
The Composer vendor patches come from the uams-web/patches-* packages; see patches/README.md.
Asset rows live in SQLite and are mirrored to YAML under content/models/assets/. See docs/assets-metadata.md for architecture, sync commands, and deploy notes.
The wiki holds the longer documentation: the git submodules, deploying, the web server configuration, working copies of people entries and troubleshooting. Its pages are written in docs/wiki/ and change through pull requests.
Content, users, form configurations and assets live in five private git submodules. Clone with --recurse-submodules, or run git submodule update --init --recursive after cloning. Git submodules in the wiki lists them and says what a clone without access to them can still do.
The deploy scripts, the NGINX cache settings and what a deploy must keep in storage/ are in the wiki: Deploying, Web server configuration and Working copies of people entries.
See below for information about what was and wasn't added to the repository from the Statamic Peak starter kit.
Remote CI runs on every pull request and on every push to main. A ruleset on main requires three checks: CI, which fails unless every other job in .github/workflows/ci.yml succeeded (the manual-only submodule-access aside), plus Attribution footer and Closing keywords. CI runs its jobs on Linux, Windows and macOS; the other two read text and run on Linux. docs/runbooks/branch-protection.md records what main enforces.
This repository is released under the MIT License, copyright University of Arkansas for Medical Sciences.
The license does not cover the following paths, which hold third-party material under their owners' own terms:
patches/: changes to third-party Composer packages, each under its package's own license.resources/fonts/firago/: the FiraGO typeface, under the SIL Open Font License 1.1 (OFL.txt).resources/svg/: icon artwork.resources/raster_images/: photography and other raster images.resources/js/uams_2020/source/genesis/: a script from the Genesis framework by StudioPress.lang/vendor/statamic/: translations published from Statamic.
Statamic is the flat-first, Laravel + Git powered CMS designed for building beautiful, easy to manage websites.
Note
This repository contains the code for a fresh Statamic project that is installed via the Statamic CLI tool.
The code for the Statamic Composer package itself can be found at the Statamic core package repository.
Statamic has extensive documentation. We dedicate a significant amount of time and energy every day to improving them, so if something is unclear, feel free to open issues for anything you find confusing or incomplete. We are happy to consider anything you feel will make the docs and CMS better.
We provide official developer support on Statamic Pro projects. Community-driven support is available on the forum and in Discord.
Thank you for considering contributing to Statamic! We simply ask that you review the contribution guide before you open issues or send pull requests.
In order to ensure that the Statamic community is welcoming to all and generally a rad place to belong, please review and abide by the Code of Conduct.