Coder Social home page Coder Social logo

web-dub's Introduction

DUB Website

Build Status

This is the repository for the DUB website, as hosted at https://dub.washington.edu/.

Issues

Issues and suggestions are tracked here:

https://github.com/uwdub/web-dub/issues

Building the Site

This site is implemented in Jekyll, which requires Ruby and Node.js. It also uses Python for automation and testing.

Installing Ruby, Ruby DevKit, Node.js, and Python

Development currently requires:

Creating a Virtual Environment and Installing Dependencies

All Python work should be done within a virtual environment, to avoid dependency conflicts. Node.js and Ruby have their own dependency management (i.e., npm shrinkwrap and bundler). Our Python automation scripts will employ those tools, but we first need to configure Python.

Create the virtual environment. From the working directory of our project (e.g., c:\devel\web-jekyll-base):

c:\Python35\python.exe -m venv env35

This will create a directory for the virtual environment (e.g., c:\devel\web-jekyll-base\env35\).

Next activate that virtual environment and install our Python dependencies:

env35\Scripts\activate.bat
pip install -r requirements3.txt

Next use Python's invoke automation to get the rest of our dependencies:

invoke update_dependencies

Building and Serving the Site

Invoke automation is provided for building the site.

If it is not already active, you need to re-activate the virtual environment. From the working directory of our project (e.g., c:\devel\web-jekyll-base):

env35\Scripts\activate.bat

To build the site:

invoke build_test

To build and serve the site on localhost:4000, continuously updating based on changes:

invoke serve_test

web-dub's People

Contributors

jayfo avatar fcjou avatar tonyinsect avatar depstein avatar amyjko avatar jesscs 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.