Giter VIP home page Giter VIP logo

intermine-homepage-2017's Introduction

Build Status

InterMine Homepage

New design for 2017.

Dependencies:

The homepage is generated using the static site generator hugo. Install this if you want to modify the site.

Editing content:

  1. Check out the repo
  2. Go to the /content folder to change the content of pages, or the /layouts folder for aesthetic changes.
  3. If you'd like to view the site locally, run hugo server and navigate to localhost:1313. While hugo server is running, it will automatically build and refresh pages you edit, so long as there are no errors.
  4. Edit the page you're interested in. Note that folders in content which have an _index.md are list pages and will output the contents of all the other pages in the folder. Folders with index.md (no underscore) are just single-page entries rather than list pages.
  5. Push. See deployment notes below for making your changes live.

Deploying

Anything on intermine/intermine-homepage-2017 master branch will automatically be deployed to InterMine.org, with the help of Travis CI. The code repo for intermine.org content is intermine/intermine.github.io

The static folder

There are two files in the static folder that are only there in order to be deployed in the intermine.gitgub.io repo - these files are static/readme.md and static/sample-CNAME. Do not remove them - remocing the readme will mean there is no pointer to this repo for intermine.github.io, and removing the CNAME file will stop any content on gh-paged from pointing to intermine.org. Look at .travis.yml if you want to see what is done with these two files upon deployment.

Updating Publications

Publication info at http://www.intermine.org/publications is drawn from the Zotero API. To update the site's list of publications:

  1. Join our Zotero group if you haven't already.
  2. Add the publication you're looking for to our lists - make sure to put it in the correct collection folder! (Don't type it all in to the website - use the web plugin).
  3. To update the website, simply check this project out and run hugo to re-generate the publication list.
  4. Follow the deploying step above.

Icons

Many of the icons shown are from the Smashing Magazine Ballicons 3 free set.

Updating styles

If you wish to edit the layout or styles, please edit static/style.less. There is no workflow / server task for compiling the less - you will need to do this manually and check your compiled css in to the repo.

intermine-homepage-2017's People

Contributors

yochannah avatar aditodkar avatar kukkadapusushma avatar dmahajan980 avatar itolimaesther avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.