Installation
The installation process consists of installing the Vortex template into your project's codebase, and then setting up the integrations with the required services and hosting providers.
We automated the first part by providing an interactive installer. The second part is a manual process that requires you to follow the instructions provided for each service.
Installing Vortex into a new project
-
Create a new directory for your project and navigate to it.
-
Run the following command to install the Vortex template.
Install using interactive promptscurl -SsL https://www.vortextemplate.com/install > installer.php && php installer.php -
Run the following command to commit the initial project structure.
Commit the initial project structuregit add .
git commit -m "Initial commit" -
Create a new repository on GitHub and push the initial commit to it.
-
Enable integrations with your preferred continuous integration provider.
See onboarding guides for GitHub Actions or CircleCI. -
Enable integrations with your preferred hosting platform.
See onboarding guides for Acquia or Lagoon.
Installing Vortex into an existing project
The installer cannot predict the state of your project, so it is recommended to initialize Vortex into a new directory and then merge the changes from your existing project into the new one.
Make sure to back up your project before proceeding with the following steps.
Installing into existing project may update some of the Composer dependencies to newer versions, so it is always a good idea to run the Vortex installation on the codebase with the most recent versions of the dependencies.
-
Create a temporary directory and copy all the files, including hidden files, from your existing project into it.
-
Create a new branch in your existing project.
-
Remove all files except for
.gitdirectory in your existing project directory. -
Run the following command to install the Vortex template.
Install using interactive promptscurl -SsL https://www.vortextemplate.com/install > installer.php && php installer.php -
Commit the changes. At this point, you have a clean Vortex installation relevant to your project.
-
Copy the files from the temporary directory back into the project directory, overriding the files that were installed by Vortex. Git status will show the changes between the Vortex files and your files.
-
Selectively choose which changes to keep and which to discard:
-
Potentially, you may want to remove the module and theme examples provided by Vortex.
-
composer.jsonwould need to be merged manually, preserving all the entries from the Vortex'scomposer.json. These entries are required for the features you select during the installation. -
composer.lockwould need to be removed and fully regenerated by runningcomposer install. This could potentially update some other dependencies to newer versions, so it is always a good idea to run the Vortex installation on the codebase with the most recent versions of the dependencies.
-
-
Commit the changes to the new branch and push to remote.
-
Enable integrations with your preferred continuous integration provider.
See onboarding guides for GitHub Actions or CircleCI. -
Enable integrations with your preferred hosting platform.
See onboarding guides for Acquia or Lagoon.
Updating Vortex
Head to Updating Vortex for detailed instructions on how to update your project to the latest version of Vortex.