I Dont Want Facebook but Need a Place to Upload My Projects
Websites for you and your projects.
Hosted directly from your GitHub repository. Just edit, push, and your changes are alive.
Pages Assistance
What is GitHub Pages?
Ready to get started? Build your ain site from scratch or generate ane for your project.
You lot get ane site per GitHub account and organization,
and unlimited project sites. Let'south get started.
- User or organization site
- Project site
-
Create a repository
Head over to GitHub and create a new public repository named username.github.io, where username is your username (or arrangement proper name) on GitHub.
If the showtime role of the repository doesn't exactly match your username, it won't work, so brand sure to get it right.
-
What git client are you lot using?
- A terminal
- GitHub Desktop
- I don't know
-
Download GitHub Desktop
GitHub Desktop is a groovy manner to use Git and GitHub on macOS and Windows.
Download GitHub Desktop
-
Clone the repository
Go to the folder where you want to shop your project, and clone the new repository:
~ $git clone https://github.com/username/username.github.io
-
Clone the repository
Click the "Set up in Desktop" push button. When the GitHub desktop app opens, save the project.
If the app doesn't open, launch it and clone the repository from the app.
-
Clone the repository
After finishing the installation, head dorsum to GitHub.com and refresh the page. Click the "Ready in Desktop" button. When the GitHub desktop app opens, salvage the projection.
If the app doesn't open up, launch it and clone the repository from the app.
-
Howdy Earth
Enter the project folder and add an index.html file:
~ $cd username.github.io
~ $echo "Hello World" > index.html
-
Create an index file
Take hold of your favorite text editor and add an index.html file to your project:
<!DOCTYPE html> <html> <body> <h1>Hello Earth</h1> <p>I'm hosted with GitHub Pages.</p> </body> </html>
-
Push button it
Add together, commit, and push button your changes:
~ $git add together --all
~ $git commit -m "Initial commit"
~ $git button -u origin main
-
Commit & publish
Enter the repository, commit your changes, and press the publish push button.
-
…and you lot're done!
Burn up a browser and get to https://username.github.io.
-
Use a theme, or start from scratch?
Y'all have the pick to first with ane of the pre-congenital themes,
or to create a site from scratch.- Choose a theme
- First from scratch
-
Repository Settings
Head over to GitHub.com and create a new repository, or go to an existing one.
Click on the Settings tab.
-
Theme chooser
Scroll downwardly to the GitHub Pages department. Press Choose a theme.
-
Pick a theme
Choose i of the themes from the carousel at the summit.
When you're done, click Select theme on the correct.
-
Edit content
Employ the editor to add content to your site.
-
Commit
Enter a commit annotate and click on Commit changes below the editor.
-
Create an index file
Head over to GitHub.com and create a new repository, or go to an existing 1.
Click on the Create new file button.
-
Hullo World
Name the file
index.htmland type some HTML content into the editor.
-
Commit the file
Scroll to the bottom of the page, write a commit bulletin, and commit the new file.
-
Repository Settings
Click on the Settings tab and whorl downwards to the GitHub Pages section.
Then select the main co-operative source and click on the Salve push.
-
…and you're washed!
Fire up a browser and go to http://username.github.io/repository .
Now that you lot're up and running, hither are a few things you should know.
gammagearence1989.blogspot.com
Source: https://pages.github.com/
0 Response to "I Dont Want Facebook but Need a Place to Upload My Projects"
Post a Comment