Skip to content

digitalpolygon/smartcontentpoc

Repository files navigation

Smart Content

Github Actions Dashboard smartcontentpoc Dev Site smartcontentpoc

Local Development Setup

The team will utilize Docker for local development to help streamline the process and reduce any environment-specific issues that may arise.

Project Dependencies

Installing Docker

We are using Ddev for local development.

You will need the following:

Add your public SSH key to Github and Pantheon account.

Once you have the project dependencies setup on your local environment, you should be able to setup your local environment with the sites.

  1. Clone the latest version of the main branch from GitHub.
    • git clone git@github.com:digitalpolygon/smartcontentpoc.git
  2. Move into the project folder - cd smartcontentpoc
    • Add your identity to github configuration by running the below commands
  3. Run composer install to download all project dependencies.
  • composer install
  1. Obtain and configure Pantheon.io machine token Get your Pantheon machine token: a. Log in to your Pantheon Dashboard and Generate a Machine Token for DDEV to use. b. Add the API token to the web_environment section in your global DDEV configuration at ~/.ddev/global_config.yaml
  web_environment:
  - TERMINUS_MACHINE_TOKEN=abcdeyourtoken
  1. Run ddev config and follow onscreen instructions and keep press enter, It will auto select everything.
  2. Run ddev start
  3. Sync your local db and files from Pantheon dev environment
    • Run ddev pull pantheon This command will download the Pantheon database and files and bring them into the local DDEV environment. You should now be able to access the project locally.
     ddev pull pantheon

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published