sprintive / seeds-installer
console command application that simplifies the process of initializing a project by performing tasks such as creating project folders, cloning a Git repository, configuring virtual hosts, and more.
Requires
- php: >=8.2.0
- illuminate/filesystem: ^11.20
- illuminate/support: ^11.20
- laravel/prompts: ^0.1.24
- symfony/console: ^6.2
- symfony/process: ^6.0
This package is not auto-updated.
Last update: 2025-03-02 11:41:31 UTC
README
seeds-installer: Kickoff distribution for SMEs
Light distribution to kick off all projects regardless scale, you can use it to speed up your projects.
seeds-installer command is a Symfony console application that simplifies the process of initializing a project by performing tasks such as creating project folders, cloning a Git repository, configuring virtual hosts, and more.
Installation
-
Install Seeds installer global in your device :
composer global require sprintive/seeds-installer
-
In your terminal write this command :
composer -n config --global home
you will get some thing like this :
/home/<user>/.config/composer
or
/home/<user>/.composer
-
If you have zsh on your device: In your terminal go write
vim ~/.zshrc
, then add in the last line this code :export PATH="$PATH:$HOME/.composer/vendor/bin"
If you have
bashrc
on your device in your terminal go writevim ~/.bashrc
, then add in the last line this codeexport PATH="$PATH:$HOME/.composer/vendor/bin"
** this path
export PATH="$PATH:$HOME/.composer/vendor/bin"
is related to point 2 ( change the path to match with the result you get)
Usage
To clone a new project, use the following command:
seeds-installer new <name>
replace <name>
with the desired name for your project.
The new command performs the following steps:
- Prepares the project folder.
- Clones a Git repository into the project folder.
- Sets up a virtual host for the project.
- Restarts the Apache web server.
- Creates a database for the project.
- Generates a local settings file.
Project will installed in this path : /var/www/html/<name>
You need to run composer install
to install all packages for the project
Sponsored and developed by
Sprintive is a web solution provider which transform ideas into realities, where humans are the center of everything, and Drupal is the heart of our actions, it has built and delivered Drupal projects focusing on a deep understanding of business goals and objective to help companies innovate and grow.