Skip to content

drupal-tome/tome-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tome Docker

This repository contains a Dockerfile for Tome, which can be used for local development on a Tome project.

The image can be built locally, or you can use the mortenson/tome image from Docker Hub.

Credit to frob for contributing the original Dockerfile.

Creating a new Tome project

This image can be used to initialize new Tome projects. To do this, run:

mkdir my-project
cd my-project
docker run --rm -it -v "$(pwd)":/var/www/tome mortenson/tome init

This will create a new instance of tome-project in the "my-project" directory, and take you through your first Drupal install and export.

Running a local server

To start a local server on the default port, run:

docker run --rm -it -p 8888:8888 -v "$(pwd)":/var/www/tome mortenson/tome

Generating static HTML

To generate static HTML, run:

docker run --rm -it -v "$(pwd)":/var/www/tome mortenson/tome vendor/bin/drush tome:static

You can run any other command in a similar fashion if you need to.

About

Contains a Docker image for Tome, published to Docker Hub at mortenson/tome

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •