Skip to content

botstory/boilerplate-bot-landing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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