This is a helper bash script to automate new project creation.
- Download the template
- Set template path in the script
- Make script executable:
chmod +x makeproject.sh
- copy makeproject.sh to your bin directory
sudo cp makeproject.sh /usr/bin/
Just type 'makeproject' or 'makeproject <project_name>' to create a project.
It will:
- copy your template (don't forget to set the path in the script!) to the given directory (the template is set to Maven Java8 project).
- create a new repository (oh! irony @ bitbacket) and push the files with initial commit.
- open the project in Intellij