https://github.com/james2doyle/git-website-workflow
a script that creates a git-capable website workflow
https://github.com/james2doyle/git-website-workflow
Last synced: about 1 year ago
JSON representation
a script that creates a git-capable website workflow
- Host: GitHub
- URL: https://github.com/james2doyle/git-website-workflow
- Owner: james2doyle
- Created: 2013-03-11T15:18:53.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-12T13:16:52.000Z (over 13 years ago)
- Last Synced: 2025-04-02T22:33:07.560Z (about 1 year ago)
- Language: Shell
- Homepage: http://goo.gl/0L3E6
- Size: 142 KB
- Stars: 43
- Watchers: 5
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
git-website-workflow
====================
a script that creates a git-capable website workflow ala http://goo.gl/0L3E6
### What's in here
* creates both a project folder and its hub
* adds .htaccess to .git folder to deny http access
* creates hooks in both repos
* creates README.md and .gitignore
* does an initial commit to initialize everything
### Usage
Own that sucker.
``` shell
chmod u+x mkproject
```
then execute that sucker.
``` shell
./mkproject
```
or
``` shell
bash mkproject
```
you could also add it to your path so you don't have to do either of these, just run it like any other command.
I use this for projects hosted on Amazon EC2. This workflow allows you to clone the repo locally to your computer and then push it back and have it update the live site.
Check out http://goo.gl/0L3E6 for an explaination and more.