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_key
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
- add it to the target repository
https://github.com/<your name>/<your repo>/settings/keys.
- encrypt it with Travis and get
encryption label
travis encrypt-file deploy_key
- add
deploy_key.enc
to repositorygit add deploy_key.enc
- update
.travis.yml
withencryption label