Composer template for Tome projects
This project is a great place to start for building brand new Tome projects.
There isn't much here now, but keep posted and let me know if anything doesn't work!
To create a new Tome project, run:
composer create-project drupal-tome/tome-project my_site --stability dev --no-interaction drush tome:init
To re-install Tome, run:
To start a local webserver, run:
When you're ready to build your static site, run:
When composer install or update is ran, the "modules" and "themes" directories, as well as the "settings.php" file, is symlinked into the "web" directory.
This is done to improve DX, but only works on systems that support
symlinks. If you're running Windows you'll probably want to write a custom
script to replace
symlink.sh, and use the
mklink command. Pull requests are
welcome to make this functionality cross-platform by default.
A Docker image for Tome is available on Docker Hub as
Instructions on how to use the image can be found at drupal-tome/tome-docker.