Code Monkey home page Code Monkey logo

rg-db-public's Introduction

CI

rg-db-public

Billinge Group Public Research Group Database

This repo contains public facing data from the Billinge Group in the Applied Physics and Applied Mathematics department at Columbia University. It will be used to build the group dynamic web-site at https://billingegroup.github.io using regolith (https://github.com/regro/regolith). Regolith will also build people's public facing cv's and publication lists from this information here.

You need to be a current or former member of the Billinge Group at Columbia University to update entries in this database. Please reach out to Prof. Billinge ([email protected]) if you are interested in joining the group.

For group members, the current branching workflow is to directly clone this repo to your local, make pushes to branches directly on this GitHub repository and create a PR into the default branch main. We are no longer using a forking workflow (i.e., don't create a fork).

These commands might help you get going:

cd dbs
git clone [email protected]:Billingegroup/rg-db-public.git
git checkout <branch_name>
git add <files>
git commit -m "an informative commit message"
git push -u origin <branch_name>

then go to GitHub to open a PR into main, so it will look like base:main <- compare:<branch_name>

Do not ever merge directly into main (actually you shouldn't be able to on GitHub). This merge will be done by Prof. Billinge after review.

To prevent nasty accidents,

  1. create a file in rg-db-public/.git/hooks called pre-commit and copy-paste the following into it and save it
  2. Mark the new file as executable: chmod +x rg-db-public/.git/hooks/pre-commit.

This will prevent you accidentally making local changes to your main branch that won't be mergeable.

#!/bin/sh
#
# To prevent accidental commits to main,
# copy this file, with name 
#    "pre-commit" 
# to the 
#    .git/hooks (notice the dot in front of git)
# directory in this 
# repo

branch="$(git rev-parse --abbrev-ref HEAD)"

if [ "$branch" = "main" ]; then
  echo "You can't commit directly to main branch"
  exit 1
fi

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.