because in doing the following steps | instancecsのブログ

instancecsのブログ

ブログの説明を入力します。

A friend of mine a few months ago had said would like Nike Air Max to use the Spring Festival holidays do its own website. Now the holiday is almost over, but he has not started working. Tomorrow is his birthday, I decided to do a damn good friend, write a simple step by step instructions on how to create a web site, and as a gift to him. Make a Air Max Nike 6.0 Mavrk Mid 2 Skate Shoes Blue Grey 2012 Womens Navy Blue White website really need only one hour. Black Green Women Air Cushion Jordan High Heels Sale The reason I know that is because in doing the following steps, I record the consumption of their own time. Do site the entire process only took me less than an hour. (In order to better measure the time, I even registered a new domain name and create a new GitHub account). You can view the Web site code on GitHub. 1. go namecheap.com on the registration of a domain name. This step is optional, only if you want a custom domain name only need this step. 2. Create a GitHub account, Air Max 2012 Womens Navy Blue White if not Git on your computer, download and install Git. 3. Create a directory to store your website, and into the directory. mkdir my-site \u0026 amp; \u0026 amp; cd my-site. All commands are assumed behind you is performed in this directory. 4. Create a new GitHub repository for your site, named yourusername.github.io. For example, my GitHub account is Black Red Women Air Jordan 6 VI High Heels Sale smilli, so my warehouse named smilli.github.io. 5. Do git init and git remote add origin https://github.com/username/username.github.io.git command in the directory of your site, pay attention to replace username with your username. 6. In the directory of your site using HTML to create a file named index.html as your Air Max 2012 White Grey Blue site's home page. Do Nike Air Jordan not spend on index.html too much time, it can be below the code as simple as: \u0026 lt; DOCTYPE html \u0026 gt; \u0026 lt; html \u0026 gt; \u0026 lt; head \u0026 gt; \u0026 lt; meta charset = \u0026 quot; utf-8 \u0026 2015 Nike Free 5.0 quot; \u0026 gt; \u0026 lt; title \u0026 gt! !; website name \u0026 lt; / title \u0026 gt; \u0026 lt; - Add some style to your site, see http://getbootstrap.com for details - \u0026 gt; \u0026 lt; link rel = \u0026 quot; stylesheet \u0026 quot; href = \u0026 quot; https: / /maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css\u0026quot;\u0026gt;\u0026lt;/head\u0026gt;\u0026lt;body\u0026gt; \u0026 lt; h1 \u0026 gt; YOUR SITE TITLE \u0026 lt; / h1 \u0026 gt; \u0026 lt; p \u0026 gt; Your text blahblahbhalbha \u0026 lt ; / p \u0026 gt; \u0026 lt; p \u0026 gt;! Another paragraph Maybe more text \u0026 lt;! / p \u0026 gt; \u0026 lt; / body \u0026 gt; \u0026 lt; / html \u0026 gt;. 7 In this file you can enter any text or html code you want. You can see the changes you made to the file locally, if you are using a Python3, execute python -m http.server 8000, if you are using a Python2, execute python -m SimpleHTTPServer 8000. Then use Air Max 2012 Womens Navy Blue White your browser to open http: // localhost: 8000 can be. 8. Nike Heels Boots Now Black Grey Blue Nike Air LeBron E.E. 2013 Online to run the following command: git add .git commit -m \u0026 quot; Initial commit \u0026 quot; git push -u origin master9 open https://yourusername.github.io/.. Now you should see your site. Congratulations, you put something up on the Internet. 10. If you want to add your own domain name, you can create a file named CNAME, pay attention to the file names are all uppercase. Then add a row of data to this file: yourdomainname.com (no http or Air Jordan Outlet www). For example this site CNAME file could write: makethisinanhour.comView details on CNAME configuration here in this [CNAME configuration] (https://help.github.com/articles/adding-a-cname-file-to-your-. repository /) page for details. 11. The operation is similar to the front, submit your changes to GitHub:. Git add .git commit -m \u0026 quot; Air Max 2012 Purple Black Add CNAME \u0026 quot; git push12 now visit the website https://www.namecheap.com/, click on your domain name under the list of domain names, the list should look like this: click on Nike Dunk Heels your domain name after the 'Host Management' below the left toolbar, you will see a link 'All Host Records'. Click on it. Now you see the default host record for your site Namecheap added. Modify your host records, to make them look like this (user name to your GitHub account username): 13.DNS modified to take effect, you will be able to view your website in under your domain name. Congratulations Oh!one hour to build a personal web site