Sandbox Drupal URL: https://performance.ddev.site Sandbox Frontend URL: http://localhost:3000
ddev start
ddev composer install
ddev drush si --existing-config
ddev start
ddev composer install
ddev drush cim
ddev drush uli
cd src/frontend
npm install
- Copy
.env.example
to.env.local
npm run dev
- Fork the repository.
- Checkout the
main
branch. - Create a new branch:
git checkout -b ticket-number-feature-name
. - Make your changes.
- Push your branch:
git push origin ticket-number-feature-name
. - Create a pull request.
- Request code review and reassign ticket.
- After code review, assign back to original ticket holder
- Ticket holder merges their PR and changes ticket status to done
- Install Cloud Foundry CLI: https://docs.cloudfoundry.org/cf-cli/install-go-cli.html
- Login with the CLI: https://docs.cloudfoundry.org/cf-cli/getting-started.html
Deployments to Cloud.gov are accomplished through the use of Cloud Foundry CLI which in turn communicates with the Cloud Foundry API to manage the presrcribed resources. The above pre-requisites should be completed prior to proceeding to the deployment steps below.
To deploy, we utilize the cf push
CLI command.
Deploy the Drupal backend:
cf push PGOV-CMS
Deploy the Next.js frontend:
cf push PGOV-Frontend