- PHP 8+
- Composer
This assumes that PHP and Composer is already installed. This also assumes that the Composer's bin is already added to your path (Add export PATH=~/.composer/vendor/bin:$PATH to your .zshrc ). To install the command do:
- Open the terminal and run
composer global require webteractive/devstack. This will install a CLI commanddevstack. - Running the
devstackcommand should list all available commands that you can use.
There are to ways to initialize runtimes.
- By running
devstack https://github.com/vendor/the-name-of-the-runtime. - By using a private repository. This good for runtimes that you don't want to share to the world.
You can do this by following the steps below:
- Run the
devstack configcommand, this will ask the repository url, the branch, and token. The token here is your personal access token. Visit this page for more details on how to obtaine one. - Once the configuration is done, you may now initialize runtimes from your private repository by doing
devstack init the_runtime_name. - To download the latest runtimes in your repository, run
devstack download.