https://github.com/metallurgical/server-host-automation
Auto create initial server host for nginx and apache, create project root from git repo. Only for laravel project.
https://github.com/metallurgical/server-host-automation
apache-vhost golang hacktoberfest hacktoberfest2021 i-m-lazy nginx-serverblock server-host-automation
Last synced: 11 days ago
JSON representation
Auto create initial server host for nginx and apache, create project root from git repo. Only for laravel project.
- Host: GitHub
- URL: https://github.com/metallurgical/server-host-automation
- Owner: metallurgical
- Created: 2021-09-19T04:48:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-22T07:34:40.000Z (almost 5 years ago)
- Last Synced: 2024-06-20T03:40:10.593Z (about 2 years ago)
- Topics: apache-vhost, golang, hacktoberfest, hacktoberfest2021, i-m-lazy, nginx-serverblock, server-host-automation
- Language: Go
- Homepage:
- Size: 9.72 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
Auto create initial server host for nginx and apache (httpd), create project root from git repo. Only for laravel project.
### Requirements
- Must run this application as `root` user
- Configure your server to have SSH connection between your server and git repository(gitlab, github, etc)
- Your server should have `wget` application installed
- Your server should have nginx running (if using nginx)
- Your server should have apache running (if using apache)
### Disclaimers
Run at your own risk !!! :p
### How to use
Dead simple. Run any of binary release based on your platform. e.g:
```
$ ./server-host-automation-linux-amd64
```
and press enter.

### Make executable code global
Make it executable
```
chmod u+x server-host-automation-linux-amd64
```
and copy/move to bin folder
```
cp server-host-automation-linux-amd64 /usr/local/bin/shautomation
```
Once done, directly run the application using following command
```
$ shautomation
```