michaelkolesidis / webproject-scripts

A collection of simple shell scripts for working with webprojects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



A collections of simple shell scripts for working with webprojects


Technologies Used

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.






About

A collection of simple shell scripts for working with webprojects.

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%