Git Product home page Git Product logo

wbdatalab.org's Introduction

Editing:

  • Navigate to forestry
  • If you have not been added as a collaborator, initialize the repo using the master branch.
  • If you are already a collaborator, edit away!

Running Locally ():

You should only run locally if you want to do template or layout edits. Workshops and Lab Reports should be edited through Forestry.

  • Install Hugo
  • Clone the repository: git clone https://github.com/datapartnership/wbdatalab_org.git
  • In the directory, run hugo serve -D -E -F
  • The site will be available at http://localhost:1313 in your browser

Deployment and Workflow

The workflow is as follows:

  • Make edits on the master or feature branches.
  • Once a commit is made to master, a Github Action builds the site and commits the result to gh-pages.
  • The site is deployed through Github's environment. It is available at wbdatalab.org per GoDaddy configured A Records and CNAME.

Deploying on WB Intranet

  • If you have just made edits, wait until the deployment is complete to the gh-pages branch.
  • Click on this link. It will download the zip archive of the current gh-pages.
  • Extract the contents of the wbdatalab_org-gh-pages folder within the archive to \\websiteqaint\wwdevdatalab replacing the files already there.
  • Create a new release in TFS.
  • After a few minues, check out datalab/ to make sure all is well.

Folders and Files

If a folder is not included in the list below, please don't edit there

  • /content/

    • All folders here except /lab-reports/ and /workshops-and-clinics/ are placeholders, since most pages on the site are custom and don't follow a set pattern.
    • The folders mentioned above are editable in Forestry.
  • /layout/

    • /partials/: contains pieces of content reused throughout the site.
      • /base/: Footer / header / navbar used across the site.
      • /blocks/: Section cards for the front page, workshops listing, lab reports listing, directory, etc.
      • /list-partials/: Workshops lists page, other list pages.
      • /single-pages/: Single pages (not linked ATM).
  • /static/

    • Contains everything that will be exported to the /public/ folder; Includes JS, SCSS and images.
  • config.toml

    • Contains various pieces of contant reused across the site. Change it here, it changes everywhere.

wbdatalab.org's People

Contributors

claudiacalderon avatar davidtmiller avatar mrmaksimize avatar holly-transport avatar g4brielvs avatar sahitisarva avatar hubertkubiak avatar rrikesh avatar wbagdon avatar diggy avatar demondayza avatar smartyp avatar shadowfacts avatar lvanderveekens avatar atleta avatar yahkob avatar gregordy avatar fabiancernota avatar alanyee avatar atmartin avatar

Watchers

 avatar  avatar

wbdatalab.org's Issues

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.