Skip to content

peggles2/search.digitalgov.gov

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

search.gov

CircleCI

How to add a new post

  1. Clone the master branch.
  2. Create a new file in the drafts directory using the following naming convention: YYYY-MM-DD-post-filename-title.md
  3. Add the YAML block to the top of the file. You can use the following sample file as a starting point.
  4. Add the content of your new post below the YAML block. Feel free to use HTML, Markdown or Liquid Extension.
  5. Add, commit and push your new post back to the repository.
  6. After roughly 3 minutes, visit https://search.digitalgov.gov/drafts/post-filename-title.html to preview your post. If you added a permalink config in your post, visit https://search.digitalgov.gov/drafts/your-permalink.html
  7. When you're ready to publish your post, move the file from from drafts to the _posts directory.

How to set up your development environment

Open a Terminal window. Start homebrew.

$ brew update
$ brew doctor

We use bundler to manage gems. cd into the local repo. Install bundler and other required gems.

$ gem install bundler
$ bundle install

Start a server and try it out.

$ bundle exec compass watch (ctrl+c to stop)
$ bundle exec jekyll serve

Go to http://localhost:4000.


  • For more information about Jekyll, visit the wiki pages.

  • If you don't already have it, you'll need Ruby 2.0.0. RVM is recommended to install Ruby on your development environment.

    $ rvm install ruby-2.2.1

About

Pages and layout for our website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 37.8%
  • Ruby 36.4%
  • CSS 25.7%
  • JavaScript 0.1%