GithubHelp home page GithubHelp logo

git-hub-acct / universe_oa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openastronomy/universe_oa

0.0 0.0 0.0 54.3 MB

Home Page: http://openastronomy.org/Universe_OA

Python 99.56% Shell 0.44%

universe_oa's Introduction

This folder contains the source used to generate a static site using Nikola.

Installation and documentation at https://getnikola.com/

Configuration file for the site is conf.py.

To build the site::

nikola build

To see it::

nikola serve -b

To check all available commands::

nikola help

Structure of this repository

There are three branches: master, run and gh-pages.

  • master includes only commits made by people and not automatically.
  • run runs on Travis and updates the posts and everything
  • gh-pages is the built version of the page, also done automatically.

We could keep master and run in the same branch but this makes it easier to search the commits that we care about.

Updates for a new season:

  1. Update gsoc_times.yml from run into master

    git restore --source run gsoc_times.yml
    

    This brings the latest updates to gsoc_times.yml.

  2. Add properties on gsoc.yml and on gsoc_times.yml for new students. For names we are using their github handles.

    gsocYYYY:
      gh_student_a:
        rss_feed: "
        rss_fed: "rss-url" # TODO (add blog with gsoc tag)
        project: 'suborg' # TODO (add project as named on ..)

    Then, once completed that file you can run this snippet to fill gsoc_times.yml

    year=$(date +"%Y")
    lastyear=$(( ${year} - 1))
    sed -n "/^gsoc${year}/,/gsoc${lastyear}/p" gsoc.yml | grep "^  [[:alpha:]].*:$" | sed 's/^[ ]*//' | sed "s/$/ ${year}-05-01 00:00:00/g" >> gsoc_times.yml
    LC_COLLATE=C sort -o  gsoc_times.yml gsoc_times.yml # So it sorts as python does, first upper case, then lower
  3. Create a PR and ask students to PR to that filling it in. As in: 2018

  4. copy the new config file into the run branch, for example with:

    git rebase --onto run <x> <z>

    where <x> is the commit before than <y> which is the one we want to copy (up to included) to run. Then push it and all should work.

universe_oa's People

Contributors

dpshelio avatar bsipocz avatar siddharthlal25 avatar cadair avatar mirca avatar alex-ian-hamilton avatar theand9 avatar sedictious avatar astrojuanlu avatar jredondopizarro avatar jes24 avatar kakirastern avatar meuge avatar nocturnalastro avatar pkj-m avatar aquatiko avatar sahilyadav27 avatar tianxiaoma avatar tcjansen avatar yashrsharma44 avatar abhijeetmanhas avatar rirze avatar vatch123 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.