Coder Social home page Coder Social logo

bhinebaugh / codeforboston.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codeforboston/codeforboston.org

0.0 0.0 0.0 3.73 MB

Code for Boston's website.

Home Page: http://codeforboston.org

License: MIT License

HTML 69.34% CSS 29.88% JavaScript 0.79%

codeforboston.org's Introduction

Code For Boston Website

This is a pretty standard Jekyll website at http://www.codeforboston.org/; there are a number of datasets in _data that build various lists displayed on the site.

Please be sure to read our Code of Conduct. CFB is a Code for America Brigade.

I want to build the website locally. How do I do that?

  • Ensure you have Ruby installed on your system and available from your system $PATH. Instructions will vary per environment but are available here.
$> ruby --version
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
  • (Optional, only for those looking to contribute changes upstream) Ensure you have Git installed on your system and available from your system $PATH. Instructions will vary per environment but are available here.
$> $ git --version
git version 2.17.1
  • Install Jekyll through Ruby's Gem package management system. Jekyll is a dynamic website generator that allows Ruby code to be executed at build time. The result is a site of static pages.
$> gem install jekyll
Building native extensions. This could take a while...
...lots of output...
21 gems installed
  • NOTE: When the Jekyll gem is installed it will rely on several native dependencies on your system, and you may have to go hunting to find these. For instance, on Fedora 27, you may need to install gcc-c++, redhat-rpm-config, and ruby-devel using a command like:
$> sudo dnf install gcc-c++ redhat-rpm-config ruby-devel

GitHub Fork Button

  • Clone your namespace's remote into your local file system. Copy the address of your remote repository, then use that as an argument to the git clone command. For those not using git, simply download the sources using GitHub's UI. In the command below, remember to replace ALRubinger with your GitHub user name.

GitHub Clone Button

$> git clone [email protected]:ALRubinger/codeforboston.org.git
Cloning into 'codeforboston.org'...
remote: Counting objects: 1739, done.
Receiving objects:  24% (418/1739), 1.65 MiB | 3.23 MiB
...a lot of output...
Resolving deltas: 100% (867/867), done.
  • Move into the new working directory
$> cd codeforboston.org
  • Add a reference to the upstream remote repository so that you may later synchronize changes with new work.
$> git remote add upstream [email protected]:codeforboston/codeforboston.org.git
  • Use Jekyll to build the site!
$> $ jekyll build
  • Use Jekyll to start a small local web server to serve the site, reloading the build with changes you make to local files
$> $ jekyll serve --livereload
...lots of output...
LiveReload address: http://127.0.0.1:35729
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.
  • View the site using your web browser at the address indicated above, in this case http://127.0.0.1:4000/. Changes you make to the source files should trigger a Jekyll rebuild and appear in your browser once done.

I want to update the wesite. How do I do that?

Deploy to codeforboston.org

This site is hosted via GitHub Pages, so all you need to do to deploy is to push updates to the master branch in GitHub. Within minutes, http://www.codeforboston.org/ will reflect the new changes.

codeforboston.org's People

Contributors

isaacchansky avatar mzagaja avatar zzyyfff avatar whereshj avatar alrubinger avatar timtheguy avatar emily-wasserman avatar sashamaryl avatar carpeliam avatar bdougsand avatar thadk avatar anhase avatar alexmerritt avatar shanecurcuru avatar knod avatar jmartini avatar supjohn avatar huynhtan97 avatar bcjordan avatar cinemad avatar morisy avatar stevemanone avatar tdooner 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.