Giter Site home page Giter Site logo

cs506-spring2020-projects's Introduction

bu-spark.github.io

The start of Spark! Tech Resources

Upgrades

Ruby, gems and bundler are very conservative about upgrades. We are now using pages-gem and just-the-docs as our only gem dependencies and, hopefully, it will upgrade more nicely.

Running the application

Production

The github pages site will update automatically on every commit to main. The jekyll config is managed in /_config.prod.yml as you can see in the GitHub Workflow. The use of a non-standard file is to support a need for a separate config (in the standard place) for dev.

Development

Via GitHub Codespaces

By far the easiest mechanism to make changes.

  1. Click on the big green "<> Code" button, click to the 2nd tab (Codespaces), click the "+" sign.
  2. Once it is done warming up, you should be able to open a terminal and run ./launch.sh.
  3. However, if you get an error about dependencies, run bundle update then run ./launch.sh.
  4. Copy the url to your codespace which will look something like https://obscure-dollop-qsdadASD.github.dev/
  5. Open a new browser window or tab and paste the url.
  6. Before hitting enter, modify it to be https://obscure-dollop-qsdadASD-4000.app.github.dev/ (NOTE: you are adding -4000.app kind of in the middle).

You should now be able to hit enter and see your changes.

If anyone has any bright ideas about how to make this a launch configuration I would love to include it.

Via Local VS Code

  1. Install docker or podman and make.
  2. Find the URI for the repo under the big green "<> Code" button.
  3. git clone the repo somewhere.
  4. Open the folder in VS Code.
  5. In a terminal run make build or make build-podman as appropriate.
  6. run make run or make run-podman.
  7. You should be able to go to a browser and goto http://localhost:4000 and see the site.

Notes

  • Make a new branch for your changes
  • You should not use a fork, as then the preview automation won't work
  • Once you are pretty happy with your code, create a PR from your branch (after you pushed to GitHub) and add WIP to the begining of the name of the PR. Go to your PR and you should see a link to preview of the site (it can take awhile). When you think everything is correct, delete the WIP from the name of the PR and tag some reviewers.

cs506-spring2020-projects's People

Contributors

andrewsunup avatar arn197 avatar cdolfi avatar changhaoliang avatar daodaonocode avatar drewma2k avatar druizm98 avatar feixliu avatar fuqingwang avatar g-asokan avatar gallettilance avatar gatsbyct8 avatar guthrie-kuckes avatar jiahaosong avatar jingyu98 avatar lux1997 avatar lynnjiangsmart avatar memphismeng avatar mingyanyang97 avatar nospringnorain avatar nshalash avatar rishabnayak avatar ruihong1996 avatar sandy621 avatar scholarofthefirstsin avatar shubhangij01 avatar szt1112 avatar taylorhazlett avatar tzcliff avatar youziyt avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.