Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fsspencer/bash-local-project-setup
Bash script to create a new local project for apache2 local servers
https://github.com/fsspencer/bash-local-project-setup
Last synced: 20 days ago
JSON representation
Bash script to create a new local project for apache2 local servers
- Host: GitHub
- URL: https://github.com/fsspencer/bash-local-project-setup
- Owner: fsspencer
- Created: 2017-01-04T09:17:09.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-04T13:38:08.000Z (about 8 years ago)
- Last Synced: 2024-11-05T10:13:51.119Z (2 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setup Local Project
This is a simple bash script that allows you to create a local project according to your needs.
In this version you have several project types as Magento 1, Magento 2, Laravel, Wordpress, Symfony, but you can add or remove them as you wish and point them to your own project paths.## Installation
Copy the setup-project.sh to any directory you prefer. For example: **~/.scripts/**.
You should open the script with a text editor and modify the project paths or you can leave it as it.
If you have a different user/group for your apache server, you can replace the following line with your user and group:sudo chown -R $USER:$USER $projectPath
You can replace it with:
sudo chown -R www-data:www-data $projectPath
## Usage
If you copied the script to **~/.scripts/** you need to open your terminal and execute the following
sh ~/.scripts/setup-project.sh
Provide code examples and explanations of how to get the project.
## Dependencies
- Linux Distribution
- Apache 2.4
- Composer
- Php
- Git