johnpfeiffer
  • Home
  • Engineering (People) Managers
  • John Likes
  • Software Engineer Favorites
  • Categories
  • Tags
  • Archives

Creating a static web site with Bitbucket

  1. create a bitbucket account with username
  2. create a repo named username.bitbucket.org
  3. mkdir username.bitbucket.org
  4. cd username.bitbucket.org
  5. echo "hi" > index.html
  6. git init .
  7. git add
  8. git commit -m "first site index"
  9. git remote add origin [email protected]:username/username.bitbucket.org.git
  10. git push origin master
  11. git branch --set-upstream master origin/master
  12. git pull
  13. https://username.bitbucket.org

https://confluence.atlassian.com/display/BITBUCKET/Publishing+a+Website+on+Bitbucket

Scroll down to the comments: You can setup a CNAME for your account . You cannot set up a CNAME for a static website hosted on Bitbucket. The account you setup a CNAME for may have a repository that represents a static website.


  • « How to set up a Pelican static blog site
  • Markdown syntax cheatsheet »

Published

Jun 30, 2014

Category

programming

~89 words

Tags

  • programming 7