Python script for creating new projects in the desired local directory, with a GitHub origin.
Contact us on Discord.
Clone the repository:
cd C:\
git clone https://github.com/jarodburchill/project-automation
Set the environment variable:
setx path "%path%;C:\project-automation\windows"
Clone the repository:
cd ~
git clone https://github.com/jarodburchill/project-automation
Set the environment variable:
PATH=$PATH:~/project-automation/mac-linux
Make executable:
cd ~/project-automation/mac-linux
chmod +x new-project
All configuration options can be found in the script.config
file.
Name | Description | Usage | Default |
---|---|---|---|
directory |
Takes a file path string to determine where new projects will be created. | directory = <path> |
C:/Projects . If on Windows, change if you like. If on Mac, you must set it to /Users/<username>/desired path . If on Linux, you must set it to /home/<username>/desired path . |
editor |
Takes a string to determine which editor new projects will be opened in after creation. | editor = <name of command that opens the editor/none> (see EDITORS.md) |
code (opens VSCode) |
username |
If a valid GitHub username is entered into this option, the script will not prompt for your usernane every run. | username = <username> |
blank |
password |
If the username option is set, the script will not prompt for your GitHub password every run. |
password = <password> |
blank |
private |
Takes a string to determine if projects should have a private or public GitHub repo. | private = <y/n> |
blank |
new-project
Type | Description |
---|---|
blank |
Blank repository with a README |
html |
HTML boilerplate complete with CSS and JS |
react |
Create-react-app |
react-ts |
Create-react-app with TypeScript |
node |
Node.js project |
express |
Express.js project |
laravel |
Laravel project |
vue |
Vue project |
python |
Pyscaffold project |
MIT © Jarod Burchill