Giter Site home page Giter Site logo

jbdatascience / ml4health.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ml4health/ml4health.github.io

0.0 1.0 0.0 80.13 MB

Website for ML 4 Health

HTML 53.62% CSS 39.19% Python 2.80% Makefile 0.54% Shell 0.75% JavaScript 3.10%

ml4health.github.io's Introduction

This repository contains all the source materials for NIPS ML4Health workshop website.

Usage for 2019

Creating new folder for a new year

  1. Copied the 2018_content to 2019_content.
  2. Alter in Makefile to put to year 2019. Change link in ./index.html. Switch years in pelicanconf.py

Editing an existing page

  1. Make edits on page in 2019_content/pages/
  2. make html in root. make serve to check it looks fine. Then push to public.

Adding a page from the 2018 website

  1. Copy over the page from 2018_content/pages/. to 2019_content/pages/.
  2. If the page looks "complicated", check and see if there is a corresponding make organizers or something else in the Makefile. In that case, you're meant to update the corresponding csv first and then run make organizers or make accepted_papers. This will generate the static page from the input files.
  3. make html in root. make serve to check it looks fine. Then push to public.

Usage for 2018

$ make organizers   # Build the organizers page from .csv file of raw data
$ make html         # Build static site on local machine under 2018/ output folder
$ make serve        # Serve website locally. Point browser to: localhost:8000

To push any local changes to the real site, just push to origin (assuming origin = github.com/ml4health/ml4health.github.io)

$ git push origin master

Remember, only content that you've turned into proper HTML files inside 2017/ with make html will be displayed on the website. Edits to the markdown source files in 2017_content/ do not automatically become html when pushed.

Hint: Adjust SITEURL inside pelicanconf.py to get links right when building locally.

Dependencies

With conda

$ conda install -c conda-forge pelican=3.7.0
$ conda install markdown

With pip

$ pip install pelican
$ pip install markdown

With virtualenv

$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

Usage for 2017 (historical)

All the 2017 Makefiles, etc are preserved in the "release_v2017" branch.

$ git checkout release_v2017
$ make organizers   # Build the organizers page from .csv file of raw data
$ make html         # Build static site on local machine under 2017/ output folder
$ make serve        # Serve website locally. Point browser to: localhost:8000

Theme

Uses custom theme already included in repo (themes/customized-pelican-alchemy/)

Based on Pelican-Alchemy (https://nairobilug.github.io/pelican-alchemy/)

Changelog from default theme

  • Resized header so logo is smaller (2 cols in bootstrap, not 4).
  • Removed "Archives" and "Categories" menu items (this site wont have "posts", just "pages")

ml4health.github.io's People

Contributors

alexbw avatar beamandrew avatar brettbj avatar irenetrampoline avatar jason-fries avatar michaelchughes avatar prateekt avatar sgfin avatar tnaumann avatar turambar avatar

Watchers

 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.