Skip to content

Instantly share code, notes, and snippets.

@mslinn
Created September 30, 2019 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mslinn/5008441e9d62da6fd983dc7c4f48a2ac to your computer and use it in GitHub Desktop.
Save mslinn/5008441e9d62da6fd983dc7c4f48a2ac to your computer and use it in GitHub Desktop.
bash script that automatically does the necessary steps for creating a new Play Framework project from play27Template
#!/bin/bash
# Clones play27Template and starts a new SBT project
# Optional argument specifies name of directory to place the new project into
DIR=play27Template
if [ "$1" ]; then DIR="$1"; fi
git clone https://github.com/mslinn/play27Template.git "$DIR"
cd "$DIR"
rm -rf .git
git init
echo "Remember to edit README.md and build.sbt ASAP"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment