diff --git a/app/styles/app.scss b/app/styles/app.scss index ca71d500..2f850ae6 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -12,7 +12,7 @@ @import "app/charm"; // @import "app/flash"; @import "app/forms"; -@import "app/getting_started"; +// @import "app/getting_started"; @import "app/github"; // @import "app/left/list"; @@ -70,3 +70,4 @@ @import "app/landing"; @import "app/layouts/requests"; @import "app/layouts/caches"; +@import "app/layouts/getting-started"; diff --git a/app/styles/app/layouts/getting-started.sass b/app/styles/app/layouts/getting-started.sass new file mode 100644 index 00000000..b5e4613c --- /dev/null +++ b/app/styles/app/layouts/getting-started.sass @@ -0,0 +1,42 @@ + +.getting-started + h1 + color: #808080 + font-size: 35px + margin-bottom: 1em + font-weight: 400 + + h2 + color: #35a764 + font-size: 22px + margin-bottom: 1em + font-weight: 400 + +.getting-started-steps + @include resetul + + h2:before + width: 1.5em + height: 1.5em + margin-right: .5em + font-size: $font-size-m + background-color: #35a764 + color: $white + display: inline-block + border-radius: 50% + text-align: center + vertical-align: top + li:nth-child(1) + h2:before + content: "1" + li:nth-child(2) + h2:before + content: "2" + li:nth-child(3) + h2:before + content: "3" + + +.note + +.note--info \ No newline at end of file diff --git a/app/templates/getting-started.hbs b/app/templates/getting-started.hbs index 5e0127cf..f11cc51e 100644 --- a/app/templates/getting-started.hbs +++ b/app/templates/getting-started.hbs @@ -1,77 +1,52 @@ -
Once you're signed in, and we've initially synchronized your repositories from GitHub, go to your {{#link-to "profile"}}profile{{/link-to}} page for open source or for your private projects.
+You'll see all the organizations you're a member of and all the repositories you have access to. The ones you administrative access to are the ones you can enable the service hook for.
+Flip the switch to on for all repositories you'd like to enable.
+In order for Travis CI to build your project, you need to tell the systems a little bit about it. You'll need to add a file named .travis.yml to the root of your repository.
+If .travis.yml is not in the repository, is misspelled or is not valid YAML, Travis CI will ignore it.
+
+ Note: The language
value is case-sensitive. If you set language: C
, for example, your project will be considered a Ruby project.
+
Here you can find some of our basic language examples.
+Once GitHub hook is set up, push your commit that adds .travis.yml to your repository. That should ass a build into one of the queues on Travis CI and your build will start as soon as one worker for your language is available.
+To start a build, perform one of the following:
++ Note: You cannot trigger your first build using Test Hook button. It has to be triggered by a push to your repository. +
+Want to read more? Head to our docs.
-- Start by going to your {{#link-to "profile"}}profile{{/link-to}} and enable one of your projects. We've been - synchronizing all repositories you have administrative access to. Pick one and flip the switch next to it. -
-
- Once you've enabled one of your projects, add a .travis.yml
to your project, push some code, and we'll start processing your builds. Wait a
- whee while and reload the page, and your newly setup and built project will show up on the right.
-
- We'll be sending you an email once the build has finished. Then, it's up to you to do the happy dance. -
-- We use sensible defaults for most languages, but you can customize - both the build process and the build - environment to fit your project's needs. -
- - Notifications -- You can also configure how you want to be notified of build results. Email is only one channel you can use. We - support Campfire, HipChat, Flowdock, IRC, and webhooks. To avoid - exposing any private credentials, you can shield them from the public using encrypted - configuration settings. -
- - Questions -- Should you have any questions or issues, have a look at our - documentation, open an issue or - send us an email. -
-