this post<\/a>.<\/p>\nBought domain from namecheap. carpentryhq.com – I quite like the domain (even though I’m not interested in carpentry even in the slightest!). Surprised it’s available!<\/p>\n
Transferred DNS to 1and1 hosting account.<\/p>\n
Cloned local repo for \/carpentryhq\/ from Github account. Created \/carpentryhq\/ directory in 1and1 FTP.<\/p>\n
Bonus: While I was sorting out the Git repo etc, I decided to use a very simple template I made previously. This is by no means a framework, just something I’ve made quick recently. (just has basic design, plus bootstrap, some fonts, LESS, and header\/footer includes) Feel free to use and modify it yourself – https:\/\/github.com\/joetann\/quick-simple-website<\/p>\n
To set up GIT with 1and1 & Github:<\/p>\n
\n- SSH into 1and1<\/li>\n
- mkdir \/carpentryhq\/<\/li>\n
- cd \/carpentryhq\/<\/li>\n
- git clone git@github.com:[USER]\/[REPO]<\/li>\n
- [in this case] –> git clone git@github.com:joetann\/quick-simple-website.git<\/li>\n<\/ul>\n
Then to deploy:<\/p>\n
\n- Make all changes locally<\/li>\n
- Commit changes<\/li>\n
- Sync with Github<\/li>\n
- SSH into 1and1 your newly cloned directory on the server<\/li>\n
- git pull<\/li>\n<\/ul>\n
Almost forgot – need to point the domain to the correct server directory from the 1and1 control panel. Done.<\/p>\n
Bought email marketing monthly plan from Mailchimp ($10\/m).<\/p>\n
Note: Silly me couldn’t get 1and1 IMAP working with Mac Mail client. If anyone has the same problem… Make sure you have the actual email address as username, not just the [THIS]@email.com.<\/p>\n
Pages I need to make:<\/p>\n