Created
February 15, 2015 16:12
-
-
Save sohamkamani/16742c852ddd4858232c to your computer and use it in GitHub Desktop.
Creates a new html web project , with the initial linked css and js files ready
This file contains 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
echo "Enter the project name" | |
read -e NAME | |
mkdir $NAME | |
cd $NAME | |
mkdir css | |
touch css/index_style.css | |
mkdir js | |
touch js/index.js | |
touch index.html | |
echo "<!DOCTYPE html>" >> index.html | |
echo "<html>" >> index.html | |
echo "<head>" >> index.html | |
echo " <title></title>" >> index.html | |
echo ' <meta charset="utf-8">' >> index.html | |
echo ' <link rel="stylesheet" type="text/css" href="css/index_style.css">' >> index.html | |
echo ' <script type="text/javascript" src="js/index.js"></script>' >> index.html | |
echo "</head>" >> index.html | |
echo "<body>" >> index.html | |
echo "</body>" >> index.html | |
echo "</html>" >> index.html | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment