Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.71 KB

README.md

File metadata and controls

51 lines (38 loc) · 1.71 KB

Boilerplate bot landing

Build Status

Sources of landing page of Boilerplate bot.

Stack

Instruction

  • 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.

⚠️ script will remove all files from current directory which have similar names as in boilerplate code. So please commit your changes before run boilerplate download script.

-- 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 "[email protected]"
  • 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 repository git add deploy_key.enc
  • update .travis.yml with encryption label