diff --git a/.gitignore b/.gitignore index 62bf7251e6d5b..df371ea7c9c77 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,6 @@ Gemfile Gemfile.lock node_modules package.json + +# Eclipse Configuration +.project \ No newline at end of file diff --git a/README.md b/README.md index 5d9e420eaf6dd..6ba43ec562b4d 100644 --- a/README.md +++ b/README.md @@ -1,120 +1,12 @@ -> March, 2016: If you're on an old version of Jekyll Now and run into a) build warnings or b) syntax highlighting issues caused by [Jekyll 3 and GitHub Pages updates](https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0), just :sparkles:[update your _config.yml](https://github.com/barryclark/jekyll-now/pull/445/files):sparkles: and you'll be set! +# Dojo Java Programming - Jekyll Pages -# Jekyll Now +This git repository contains the content of the site [Dojo Java Programming](http://dojo-java-programming.github.io). -**Jekyll** is a static site generator that's perfect for GitHub hosted blogs ([Jekyll Repository](https://github.com/jekyll/jekyll)) +The content is written as [Jekyll Pages](https://jekyllrb.com/docs/pages/). -**Jekyll Now** makes it easier to create your Jekyll blog, by eliminating a lot of the up front setup. -- You don't need to touch the command line -- You don't need to install/configure ruby, rvm/rbenv, ruby gems :relaxed: -- You don't need to install runtime dependencies like markdown processors, Pygments, etc -- If you're on Windows, this will make setting up Jekyll a lot easier -- It's easy to try out, you can just delete your forked repository if you don't like it +## Team Communication + +[![slack](https://raw.githubusercontent.com/dojo-java-programming/dojo-java-programming.github.com/master/images/slack_cmyk-112x32.png)](https://dojo-java-programming.slack.com) -In a few minutes you'll be set up with a minimal, responsive blog like the one below giving you more time to spend on writing epic blog posts! - -![Jekyll Now Theme Screenshot](/images/jekyll-now-theme-screenshot.jpg "Jekyll Now Theme Screenshot") - -## Quick Start - -### Step 1) Fork Jekyll Now to your User Repository - -Fork this repo, then rename the repository to yourgithubusername.github.io. - -Your Jekyll blog will often be viewable immediately at (if it's not, you can often force it to build by completing step 2) - -![Step 1](/images/step1.gif "Step 1") - -### Step 2) Customize and view your site - -Enter your site name, description, avatar and many other options by editing the _config.yml file. You can easily turn on Google Analytics tracking, Disqus commenting and social icons here too. - -Making a change to _config.yml (or any file in your repository) will force GitHub Pages to rebuild your site with jekyll. Your rebuilt site will be viewable a few seconds later at - if not, give it ten minutes as GitHub suggests and it'll appear soon - -> There are 3 different ways that you can make changes to your blog's files: - -> 1. Edit files within your new username.github.io repository in the browser at GitHub.com (shown below). -> 2. Use a third party GitHub content editor, like [Prose by Development Seed](http://prose.io). It's optimized for use with Jekyll making markdown editing, writing drafts, and uploading images really easy. -> 3. Clone down your repository and make updates locally, then push them to your GitHub repository. - -![_config.yml](/images/config.png "_config.yml") - -### Step 3) Publish your first blog post - -Edit `/_posts/2014-3-3-Hello-World.md` to publish your first blog post. This [Markdown Cheatsheet](http://www.jekyllnow.com/Markdown-Style-Guide/) might come in handy. - -![First Post](/images/first-post.png "First Post") - -> You can add additional posts in the browser on GitHub.com too! Just hit the + icon in `/_posts/` to create new content. Just make sure to include the [front-matter](http://jekyllrb.com/docs/frontmatter/) block at the top of each new blog post and make sure the post's filename is in this format: year-month-day-title.md - -## Local Development - -1. Install Jekyll and plug-ins in one fell swoop. `gem install github-pages` This mirrors the plug-ins used by GitHub Pages on your local machine including Jekyll, Sass, etc. -2. Clone down your fork `git clone https://github.com/yourusername/yourusername.github.io.git` -3. Serve the site and watch for markup/sass changes `jekyll serve` -4. View your website at http://127.0.0.1:4000/ -5. Commit any changes and push everything to the master branch of your GitHub user repository. GitHub Pages will then rebuild and serve your website. - -## Moar! - -I've created a more detailed walkthrough, [**Build A Blog With Jekyll And GitHub Pages**](http://www.smashingmagazine.com/2014/08/01/build-blog-jekyll-github-pages/) over at the Smashing Magazine website. Check it out if you'd like a more detailed walkthrough and some background on Jekyll. :metal: - -It covers: - -- A more detailed walkthrough of setting up your Jekyll blog -- Common issues that you might encounter while using Jekyll -- Importing from Wordpress, using your own domain name, and blogging in your favorite editor -- Theming in Jekyll, with Liquid templating examples -- A quick look at Jekyll 2.0’s new features, including Sass/Coffeescript support and Collections - -## Jekyll Now Features - -✓ Command-line free _fork-first workflow_, using GitHub.com to create, customize and post to your blog -✓ Fully responsive and mobile optimized base theme (**[Theme Demo](http://jekyllnow.com)**) -✓ Sass/Coffeescript support using Jekyll 2.0 -✓ Free hosting on your GitHub Pages user site -✓ Markdown blogging -✓ Syntax highlighting -✓ Disqus commenting -✓ Google Analytics integration -✓ SVG social icons for your footer -✓ 3 http requests, including your avatar - -✘ No installing dependencies -✘ No need to set up local development -✘ No configuring plugins -✘ No need to spend time on theming -✘ More time to code other things ... wait ✓! - -## Questions? - -[Open an Issue](https://github.com/barryclark/jekyll-now/issues/new) and let's chat! - -## Other forkable themes - -You can use the [Quick Start](https://github.com/barryclark/jekyll-now#quick-start) workflow with other themes that are set up to be forked too! Here are some of my favorites: - -- [Hyde](https://github.com/poole/hyde) by MDO -- [Lanyon](https://github.com/poole/lanyon) by MDO -- [mojombo.github.io](https://github.com/mojombo/mojombo.github.io) by Tom Preston-Werner -- [Left](https://github.com/holman/left) by Zach Holman -- [Minimal Mistakes](https://github.com/mmistakes/minimal-mistakes) by Michael Rose -- [Skinny Bones](https://github.com/mmistakes/skinny-bones-jekyll) by Michael Rose - -## Credits - -- [Jekyll](https://github.com/jekyll/jekyll) - Thanks to its creators, contributors and maintainers. -- [SVG icons](https://github.com/neilorangepeel/Free-Social-Icons) - Thanks, Neil Orange Peel. They're beautiful. -- [Solarized Light Pygments](https://gist.github.com/edwardhotchkiss/2005058) - Thanks, Edward. -- [Joel Glovier](http://joelglovier.com/writing/) - Great Jekyll articles. I used Joel's feed.xml in this repository. -- [David Furnes](https://github.com/dfurnes), [Jon Uy](https://github.com/jonuy), [Luke Patton](https://github.com/lkpttn) - Thanks for the design/code reviews. -- [Bart Kiers](https://github.com/bkiers), [Florian Simon](https://github.com/vermluh), [Henry Stanley](https://github.com/henryaj), [Hun Jae Lee](https://github.com/hunjaelee), [Javier Cejudo](https://github.com/javiercejudo), [Peter Etelej](https://github.com/etelej), [Ben Abbott](https://github.com/jaminscript), [Ray Nicholus](https://github.com/rnicholus), [Erin Grand](https://github.com/eringrand), [Léo Colombaro](https://github.com/LeoColomb), [Dean Attali](https://github.com/daattali), [Clayton Errington](https://github.com/cjerrington), [Colton Fitzgerald](https://github.com/coltonfitzgerald), [Trace Mayer](https://github.com/sunnankar) - Thanks for your [fantastic contributions](https://github.com/barryclark/jekyll-now/commits/master) to the project! - -## Contributing - -Issues and Pull Requests are greatly appreciated. If you've never contributed to an open source project before I'm more than happy to walk you through how to create a pull request. - -You can start by [opening an issue](https://github.com/barryclark/jekyll-now/issues/new) describing the problem that you're looking to resolve and we'll go from there. - -I want to keep Jekyll Now as minimal as possible. Every line of code should be one that's useful to 90% of the people using it. Please bear that in mind when submitting feature requests. If it's not something that most people will use, it probably won't get merged. :guardsman: +Get invited to our group __dojo-java-programming__ on [slack](https://dojo-java-programming.slack.com). \ No newline at end of file diff --git a/_config.yml b/_config.yml index d4916414195c9..12f9a31ff38f8 100644 --- a/_config.yml +++ b/_config.yml @@ -3,13 +3,15 @@ # # Name of your site (displayed in the header) -name: Your Name +name: Dojo Java Programming Group # Short bio or description (displayed in the header) -description: Web Developer from Somewhere +#description: This GitHub group creates small workshop example programs (Dojo's) in the Java programming language. +description: # URL of your avatar or profile pic (you could use your GitHub profile pic) -avatar: https://raw.githubusercontent.com/barryclark/jekyll-now/master/images/jekyll-logo.png +#avatar: #https://raw.githubusercontent.com/dojo-java-programming/dojo-java-programming.github.com/master/images/jekyll-logo.png +avatar: https://raw.githubusercontent.com/dojo-java-programming/dojo-java-programming.github.com/master/images/java-logo.png # # Flags below are optional @@ -21,12 +23,12 @@ footer-links: email: facebook: flickr: - github: barryclark/jekyll-now + github: /dojo-java-programming instagram: linkedin: pinterest: rss: # just type anything here for a working RSS icon - twitter: jekyllrb + twitter: #dojo-java-programming stackoverflow: # your stackoverflow profile, e.g. "users/50476/bart-kiers" youtube: # channel/ or user/ googleplus: # anything in your profile username that comes after plus.google.com/ @@ -41,7 +43,7 @@ google_analytics: # Your website URL (e.g. http://barryclark.github.io or http://www.barryclark.co) # Used for Sitemap.xml and your RSS feed -url: +url: # If you're hosting your site at a Project repository on GitHub pages # (http://yourusername.github.io/repository-name) diff --git a/_drafts/2016-05-00-eclipse-installation.md b/_drafts/2016-05-00-eclipse-installation.md new file mode 100644 index 0000000000000..a5bfae8e086aa --- /dev/null +++ b/_drafts/2016-05-00-eclipse-installation.md @@ -0,0 +1,4 @@ +--- +layout: post +title: Eclipse Installation +--- diff --git a/_drafts/2016-05-00-eclipse-working-with-git.md b/_drafts/2016-05-00-eclipse-working-with-git.md new file mode 100644 index 0000000000000..1e7f531f3dd67 --- /dev/null +++ b/_drafts/2016-05-00-eclipse-working-with-git.md @@ -0,0 +1,5 @@ +--- +layout: post +title: Eclipse working with git +--- + diff --git a/_drafts/2016-05-00-java-project-hello-world.md b/_drafts/2016-05-00-java-project-hello-world.md new file mode 100644 index 0000000000000..479132653bcbb --- /dev/null +++ b/_drafts/2016-05-00-java-project-hello-world.md @@ -0,0 +1,4 @@ +--- +layout: post +title: Hello World +--- diff --git a/_posts/2014-3-3-Hello-World.md b/_posts/2014-3-3-Hello-World.md deleted file mode 100644 index d4665b6d18e9e..0000000000000 --- a/_posts/2014-3-3-Hello-World.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: post -title: You're up and running! ---- - -Next you can update your site name, avatar and other options using the _config.yml file in the root of your repository (shown below). - -![_config.yml]({{ site.baseurl }}/images/config.png) - -The easiest way to make your first post is to edit this one. Go into /_posts/ and update the Hello World markdown file. For more instructions head over to the [Jekyll Now repository](https://github.com/barryclark/jekyll-now) on GitHub. \ No newline at end of file diff --git a/_posts/2016-05-16-java-project-hello-world-by-eclipse.md b/_posts/2016-05-16-java-project-hello-world-by-eclipse.md new file mode 100644 index 0000000000000..7285b0cd51a47 --- /dev/null +++ b/_posts/2016-05-16-java-project-hello-world-by-eclipse.md @@ -0,0 +1,25 @@ +--- +layout: post +title: Hello World by Eclipse +--- + +Create a simple hello-world project in Eclipse. + + +## Action Plan + +- Start Eclipse +- Switch to the perspective _Java_ +- Create a new Java Project by one of the following methods: + - In the view _Package Explorer_, use the context menu: _New > Java Project_ + - Use the pull down button on the speed button bar icon: _New > Java Project_ + - Use the Eclipse Menu: _File > New > Java Project_ +- The dialog _New Java Project_ is shown + +- Enter in the text field _Project Name_: __hello-world__ + WARNING: This should be lower case and no spaces! Use the hyphen character (dash `-`) to separate words. +- Use the button _Finish_, to create the Java project. + +### Create a New Java Package + +- In the view _Package Explorer_ or _Project Explorer_ select the _src_ the project _hello \ No newline at end of file diff --git a/_posts/2016-05-18-java-project-hello-world-webapp.md b/_posts/2016-05-18-java-project-hello-world-webapp.md new file mode 100644 index 0000000000000..d84a084c30132 --- /dev/null +++ b/_posts/2016-05-18-java-project-hello-world-webapp.md @@ -0,0 +1,10 @@ +--- +layout: post +title: Hello World WebApp +--- + +Create a simple web-application, based on the Maven archetype artifact-id: `maven-archetype-webapp` +(group-id: `org.apache.maven.archetypes`). + + +## Action Plan diff --git a/_posts/2016-05-20-continuous-integration-with-travis-ci.md b/_posts/2016-05-20-continuous-integration-with-travis-ci.md new file mode 100644 index 0000000000000..268d28e1677c9 --- /dev/null +++ b/_posts/2016-05-20-continuous-integration-with-travis-ci.md @@ -0,0 +1,41 @@ +--- +layout: post +title: Continuous Integration with Travis-CI +--- + +To see if the Java project compiles correct and that all (unit) tests are running successfully, the git project is added +to [Travis-CI](travis-ci.org) an Continuous Integration / Continuous Delivery service. + + +## Action Plan + +- Create the Travis-CI configuration file `.travis.yml` + +__Oracle Java 1.7 Project__ + +file `.travis.yml` +{% highlight yaml %} +language: java +{% endhighlight %} + + +__Oracle Java 1.8 Project__ + +file `.travis.yml` +{% highlight yaml %} +language: java + +jdk: + - oraclejdk8 + +addons: + apt: + packages: + - oracle-java8-installer +{% endhighlight %} + +- Add, Commit and Push the configuration file to GitHub repository +![_config.yml]({{ site.baseurl }}/images/sign-in-with-github.png) +- Open your account on https://travis-ci.org with your GitHub identity +- Add the GitHub repository to the Travis-CI dashboard +- Add the build status of Travis-CI as an link to the projects `README.md` diff --git a/about.md b/about.md index bc21f5731bf4b..acbf36aa7e87a 100644 --- a/about.md +++ b/about.md @@ -4,12 +4,16 @@ title: About permalink: /about/ --- -Some information about you! +The _Dojo Java Programming Group_ provides examples of methods like _Test Driven Development_ (TDD), _Domain Driven Development_ (DDD), etc. In the Java programming language. Apart from Java we use tools like Maven and Git, for which a basic introduction is given. -### More Information -A place to include any other types of information that you'd like to include about yourself. +## Team Communication + +[![slack](https://raw.githubusercontent.com/dojo-java-programming/dojo-java-programming.github.com/master/images/slack_cmyk-112x32.png)](https://dojo-java-programming.slack.com) -### Contact me +Get invited to our group __dojo-java-programming__ on [slack](https://dojo-java-programming.slack.com). + + +## Contact me [email@domain.com](mailto:email@domain.com) \ No newline at end of file diff --git a/images/java-logo.png b/images/java-logo.png new file mode 100644 index 0000000000000..cca471c098b32 Binary files /dev/null and b/images/java-logo.png differ diff --git a/images/sign-in-with-github.png b/images/sign-in-with-github.png new file mode 100644 index 0000000000000..5c59922252669 Binary files /dev/null and b/images/sign-in-with-github.png differ diff --git a/images/slack_cmyk-112x32.png b/images/slack_cmyk-112x32.png new file mode 100644 index 0000000000000..de52db6f2e8eb Binary files /dev/null and b/images/slack_cmyk-112x32.png differ diff --git a/tips.md b/tips.md new file mode 100644 index 0000000000000..96b776c10d259 --- /dev/null +++ b/tips.md @@ -0,0 +1,7 @@ +--- +layout: page +title: Tips for writing Jekyll +permalink: /tips/ +--- + +[Jekyll documentation](https://jekyllrb.com/docs/)