GithubHelp home page GithubHelp logo

nicholaschuayunzhi / website-base Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nus-cs2103/website-base

0.0 1.0 0.0 97.43 MB

CS2103 Website

Home Page: https://nus-cs2103.github.io/website

CSS 35.76% HTML 64.24%

website-base's Introduction

CS2103 Website

Live Website (redirected)

Setting up

  1. Clone this repo.
  2. Run git submodule update --init --recursive to pull the content of the submodule.
  3. Install MarkBind

Updating content

  1. Update content using MarkBind syntax (How to use MarkBind)
  2. markbind serve to start the local server (to preview changes). This command also initiates the live-preview ability i.e. when any changes to the MarkBind code is saved, the site is auto-generated and the Web page (that was opened by the serve command) auto-refreshes to show the new content. This works well for small websites but not so well for this website. Recommended to shutdown the server (Ctrl+C) before doing further edits.
  3. When you are happy with the edits, use the markbind deploy to deploy to the GitHub website at the origin repo.
    1. If the deployment failed due to a 'caching' issue, try deleting the the cache generated by the previous deploy command (on Windows, the cache can be found in /c/Users/{user-name}/AppData/Roaming/npm/node_modules/markbind-cli/node_modules/gh-pages/.cache)
  4. If you need to update contents inside the book folder,
    1. Post an issue in the se-edu/se-book issue tracker to request for the change
    2. After the change has been done, pull the sub-module, and commit the changes to sub-module reference (when you pull a sub-module, Git automatically updates the submodule reference which is seen as a change in the enclosing repo).
      cd book
      git pull origin master
      cd ..
      git commit -am "sync with book"
      
    3. Deploy the website to make the updated book content visible to students

Bug reports, suggestions, change requests

website-base's People

Contributors

damithc avatar gisonrg avatar pierceandy avatar rebekahlow-jy 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.