Sources of landing page of Boilerplate bot.
- auto-deployment by travis ci
- bablejs
- scss
- webpack v2
- download sources and unzip
bash <(curl -s https://raw.githubusercontent.com/botstory/boilerplate-bot-landing/develop/scripts/download-sources.sh)Script will download boilerplate code in current directory.
-- rename boilerplate to <project-name>
# MacOS
PROJECT_NAME=<project-name>
find . -type f ! -path "./.git/*" ! -path "*deploy_key*" -exec sed -i "" -e 's/boilerplate/${PROJECT_NAME}/g' {} \;
#Linus
find . -type f ! -path "./.git/*" ! -path "*deploy_key*" -exec sed -i 's/boilerplate/${PROJECT_NAME}/g' {} \;- setup deploy
follow steps from here:
- create
deploy_keyssh-keygen -t rsa -b 4096 -C "[email protected]" - add it to the target repository
https://github.com/<your name>/<your repo>/settings/keys. - encrypt it with Travis and get
encryption labeltravis encrypt-file deploy_key - add
deploy_key.encto repositorygit add deploy_key.enc - update
.travis.ymlwithencryption label