Git Product home page Git Product logo

dataml007 / cybertraining-dsc.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cybertraining-dsc/cybertraining-dsc.github.io-v1

0.0 0.0 0.0 141.59 MB

https://cybertraining-dsc.github.io

Home Page: https://cybertraining-dsc.github.io

License: Apache License 2.0

CSS 24.35% HTML 5.40% Shell 0.49% JavaScript 8.99% Makefile 0.24% TeX 0.74% Python 1.17% Jupyter Notebook 56.27% SCSS 2.35%

cybertraining-dsc.github.io's Introduction

Cybertraining Web Page

The cybertraining web page can be created locally and one can review changes prior to a commit.

First you will have to iinstall go and hugo

Windows

See golang

Install Cocolatey via powershell

See hugo

Please also install gitbash and use gitbash instead of powershell

OSX

See golang

See hugo

Linux

See golang

See hugo

Clone

If you have not yet cloned the repo you can do this with

git clone --recurse-submodules -j8 [email protected]:cybertraining-dsc/cybertraining-dsc.github.io.git
cd cybertraining-dsc.github.io
make setup

Compile

The web page can be compiled and run with

make pull # pulls new info from the submodules
hugo serve

This allows you to modify the source with your favourite editor and the changes will be automatically viewed.

The web page can be viewed with your browser at

Pull request

To change things, simply do a pull request.

Commit

Direct commits can be made by those who have write access others need to do a pull request.

Content is loacted in "./content./en"

Let us assume you like to change the content of the file content/en/courses/bigdata2020/_index.md. Please use your favourite editor, mine is emacs:

emacs content/en/courses/bigdata2020/_index.md 

Make your change and save is. Browse to the page that you changed and observer the changes. To generate the changes for the web page we also need to say

hugo

If you are satisfied, you can commit it with a reasonable commit message.

git commit -m "my super improvement" content/en/courses/bigdata2020/_index.md

However as hugo will create other changes, you can do

git commit -a

which presents you in your editor that you use for git the ability to commit multiple files with the same comment that you fill out in the editor.

After the commit you want to push it with

git push

To keep up to date with other peoples changes you MUST often do a git pull and if you see a conflict you need to resolve this. Thus it is pest to communicate with the development team in aces you need to do larger cahnges or have the risk that others work in pararlel.

cybertraining-dsc.github.io's People

Contributors

laszewsk avatar vibhatha avatar foxsden avatar rickotten 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.