https://github.com/bjoern-hempel/friends-of-bash-sandbox
An application sandbox that uses the Friends of Ba$h framework
https://github.com/bjoern-hempel/friends-of-bash-sandbox
bash friends-of-bash sandbox shell
Last synced: 2 months ago
JSON representation
An application sandbox that uses the Friends of Ba$h framework
- Host: GitHub
- URL: https://github.com/bjoern-hempel/friends-of-bash-sandbox
- Owner: bjoern-hempel
- License: mit
- Created: 2017-05-07T22:47:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-08T00:06:28.000Z (almost 8 years ago)
- Last Synced: 2024-12-27T03:13:15.775Z (4 months ago)
- Topics: bash, friends-of-bash, sandbox, shell
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Friends of ba$h sandbox
This is an application sandbox that uses the friends of bash framework (https://github.com/bjoern-hempel/friends-of-bash). It contains the first needed scripts including an install script (./install) and the first version of a base main script (bin/run). Adopt it for your own usage.
## Usage
First create an empty repository ([application-name]) with your repository provider of your choice (e.g. github). Then download the application sandbox from here. Afterwards replace [application-name] with the name of your repository:
```
user$ wget https://github.com/bjoern-hempel/friends-of-bash-sandbox/archive/master.zip
user$ unzip master.zip
user$ mv friends-of-bash-sandbox-master [application-name]
user$ cd [application-name]
user$ vi config/config
```Replace both variables: repositoryName and mainScript (default bin/run)
If you change the mainScript name, don't forget to rename the bin/run application name.```
user$ git config --global user.name "Your Name"
user$ git config --global user.email "[[email protected]]"
user$ git init
user$ git remote add origin [[email protected]:github-name/application-name.git]
user$ git add .
user$ git commit -m "first version"
user$ git push -u origin master
```Edit the README.md and LICENSE file. Make your general changes and commit it. Install your application globally:
```
user$ sudo ./install -g
user$ [application-name] --help
```or install only the friends of bash library locally to use your application directly within your development path:
```
user$ ./install
user$ bin/[main-script] --help
```Have fun! :)