https://github.com/michaelkolesidis/webproject-scripts
A collection of simple shell scripts for working with webprojects.
https://github.com/michaelkolesidis/webproject-scripts
bash-script bash-scripting beginner-code beginner-friendly beginner-project front-end front-end-development shell simple-project simple-script web-development web-project
Last synced: 5 months ago
JSON representation
A collection of simple shell scripts for working with webprojects.
- Host: GitHub
- URL: https://github.com/michaelkolesidis/webproject-scripts
- Owner: michaelkolesidis
- License: gpl-3.0
- Created: 2022-03-23T00:51:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-31T14:39:20.000Z (about 3 years ago)
- Last Synced: 2025-01-11T01:11:32.476Z (6 months ago)
- Topics: bash-script, bash-scripting, beginner-code, beginner-friendly, beginner-project, front-end, front-end-development, shell, simple-project, simple-script, web-development, web-project
- Language: Shell
- Homepage:
- Size: 58.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
A collections of simple shell scripts for working with webprojects
## List
This is a list with all the scripts included:| Script Name | Short for | Function |
|-------------|---------------|----------|
| bp.sh | boilerplate | Creates a front-end web project file structure and adds the basic files with some boilerplate. |
| ga.sh | git all | Combines git add, git commit -m "message" and git push. Parses bash arguments and uses them as the commit message. |## Instructions
Place the script in a folder of your choice and run this command to make each script executable:
```
$ chmod +x webproject.sh
```Open the .bashrc file located in the home folder. It is hidden by default, so you might have to type Ctrl + H in order to make it visible. Then add this line in the end:
```
export PATH=$PATH:~/YOUR/FOLDER
```Change /YOUR/FOLDER with the path of the folder you have put your scripts in. For instance if you created a folder named scripts located in your come folder, you should write:
```
export PATH=$PATH:~/scripts
```Then open your terminal and run:
```
$ source ~/.bashrc
```If everything worked, you will now be able to run the scripts from anywhere in your system! (Note than you don't have to write the $ symbol)
## Contributing
If you have any ideas for new scripts or improvements to the existing scripts, feel free to open an issue.
## License
Copyright (c) 2022 Michael Kolesidis
Licensed under the [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.html).
[//]: # (Free Software)