Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: site/user/download.md

Issue 835083003: First set of minimal docs for the new Markdown server. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix skia doc links Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « site/user/api.md ('k') | site/user/index.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: site/user/download.md
diff --git a/site/user/download.md b/site/user/download.md
new file mode 100644
index 0000000000000000000000000000000000000000..7c7630a3202b63c1d61d559f84f90ad57bacd054
--- /dev/null
+++ b/site/user/download.md
@@ -0,0 +1,74 @@
+How to download Skia
+====================
+
+Install gclient and git
+-----------------------
+
+Follow the instructions on
+http://www.chromium.org/developers/how-tos/install-depot-tools to download
+chromium's depot_tools (which includes gclient ).
+
+depot_tools will also install git on your system, if it wasn't installed
+already.
+
+
+
+Configure git
+-------------
+
+ $ git config --global user.name "Your Name"
+ $ git config --global user.email you@example.com
+
+Download your tree
+------------------
+
+ $ mkdir skia
+ $ cd skia
+ $ gclient config --name . --unmanaged https://skia.googlesource.com/skia.git
+ $ gclient sync
+ $ git checkout master
+
+At this point, you have everything you need to build and use Skia! If
+you want to make changes, and possibly contribute them back to the Skia
+project, read on...
+
+Making changes
+--------------
+
+First create a branch for your changes:
+
+ $ git checkout --track origin/master -b my_feature master
+
+After making your changes, create a commit
+
+ $ git add [file1] [file2] ...
+ $ git commit
+
+If your branch gets out of date, you will need to update it:
+
+ $ git pull --rebase
+ $ gclient sync
+
+Uploading changes for review
+----------------------------
+
+ $ git cl upload
+
+You may have to enter a Google Account username and password to authenticate
+yourself to codereview.chromium.org. A free gmail account will do fine, or any
+other type of Google account. It does not have to match the email address you
+configured using git config --global user.email above, but it can.
+
+The command output should include a URL (similar to
+https://codereview.chromium.org/111893004/ ) indicating where your changelist
+can be reviewed.
+
+Once your change has received an LGTM ("looks good to me"), you can check the
+"Commit" box on the codereview page and it will be committed on your behalf.
+
+Once your commit has gone in, you should delete the branch containing your
+change:
+
+ $ git checkout master
+ $ git branch -D my_feature
+
« no previous file with comments | « site/user/api.md ('k') | site/user/index.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698