Skip to content
/ storypal Public template

Storybook+Drupal = StoryPal 🤩😍 Drupal boilerplate, for setting up new Reload Drupal sites.

Notifications You must be signed in to change notification settings

reload/storypal

Repository files navigation

Storybook + Drupal = StoryPal

Drupal boilerplate, for setting up new Reload Drupal sites.

Powered by:

Setting up a new StoryPal-based project

Setting up Drupal

OPTION 1 (RECOMMENDED): Using the pre-made installation

StoryPal also has it's own Platform.sh project, with a basic Drupal installation. You could take the database from this project, and build from that.

That means you'll have to be added to the StoryPal project, so you can export the database using:

platform db:dump -e main -p ndwh3lq2xnuyg -d ./

A (possibly outdated) backup is also available in the repo at docker/init.sql

OPTION 2 (ALTERNATIVE): Create your own installation

  • Once you've set up your own project, you can setup Drupal through the web interface
  • Export the database from the project, for use in local docker
  • Spin up your local site, following the quickstart guide
  • Do an initial config export, and put it in a git commit by it's own:
docker-compose exec web sh -c "drush cex -y"
  • Enable recommended StoryPal themes and modules:
docker-compose exec web sh -c "drush en -y storypal_base"
docker-compose exec web sh -c "drush theme-enable -y storypal_theme gin"
docker-compose exec web sh -c "drush config-set system.theme default storypal_theme"
docker-compose exec web sh -c "drush config-set system.theme admin gin"
  • Export the new changes to config:
docker-compose exec web sh -c "drush cex -y"

Setting up dump-worker

Creating your own theme

Setting up GitHub Actions

Tweaking documentation

  • Update this README file to match your project
  • Create an Atlassian Compass space for this project
    • Add links to Jira, Zulip etc. in the Compass space
    • Code-based documentation stays in the GitHub Repo.

About

Storybook+Drupal = StoryPal 🤩😍 Drupal boilerplate, for setting up new Reload Drupal sites.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published