Skip to content

Instantly share code, notes, and snippets.

@FrancisVarga
Last active September 13, 2018 09:57
Show Gist options
  • Save FrancisVarga/70eccfcc1fb8fc459f57670244553e9e to your computer and use it in GitHub Desktop.
Save FrancisVarga/70eccfcc1fb8fc459f57670244553e9e to your computer and use it in GitHub Desktop.
#!/bin/bash
curl "https://www.gitignore.io/api/node,linux,macos,windows,visualstudio" > .gitignore
npm i async aws-sdk dotenv dotenv-safe fs-extra googleapis microtime sqlite3 axios glob sequelize mongoose express --save
mkdir src
mkdir build
mkdir public
mkdir .tmp
mkdir .github
mkdir docs
touch src/app.js
touch build/.gitkeep
touch public/.gitkeep
touch .tmp/.gitkeep
touch .env
touch .env.example
touch docs/.gitkeep
curl "https://gist.githubusercontent.com/FrancisVarga/9477a56783e21fd7ca8795a8c336e0d3/raw" >> LICENSE
curl "https://raw.githubusercontent.com/davidbgk/open-source-template/master/README.md" >> README.md
curl "https://gist.githubusercontent.com/FrancisVarga/f6da35e8762015e7e04c7a64064297ae/raw/gistfile1.txt" >> .github/PULL_REQUEST_TEMPLATE.md
git init
git add .
git ca 'initial commit'
git co -b uat
git co -b staging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment