Created
April 16, 2019 10:06
-
-
Save sidhantpanda/65a036d6baa0ded13ec1d1876efef266 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
[email protected]:sidhantpanda/express-typescript-boilerplate.git | |
read -p "Enter project name [express-typescript-boilerplate]: " project_name | |
if [ "$project_name" == "" ]; then | |
project_name="express-typescript-boilerplate" | |
fi | |
echo -e "Generating project $project_name!\n\n" | |
git clone $repoUrl $project_name | |
cd $project_name | |
rm -rf .git | |
git init | |
echo -e "\n\nGenerated TypeScript Express server at $project_name" | |
echo -e "Installing dependencies \n\n" | |
npm i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment