Giter VIP home page Giter VIP logo

website's Introduction

Student Robotics Website

Build status

The Student Robotics public website.

Getting Started

  1. Install Ruby 2.7

  2. Install Bundler (1.x) and Rake

    $ gem install bundler rake
    
  3. Start the app in development mode

    $ rake dev

To work on the reverse proxy

Right now the Student Robotics website is also acting as the main reverse proxy for studentrobotics.org. If you are changing the nginx config, you should test the reverse proxy is working before you commit. To do this, do the following:

  1. Install Docker

  2. Fetch the latest base image:

    $ docker pull nginx
  3. Optionally change the bound ports so they don't conflict with your local host's configuration. For example, you might want to edit the Rakefile to remove -p 80:80.

  4. Start the container

    $ rake run
  5. Visit http://localhost in a browser (adjust the port as needed if you edited it), and confirm that you see a copy of the SR website (also check that you didn't get redirect to the real one!)

  6. Make your changes to the nginx.conf

  7. Get those changes into the container and reload nginx:

    $ docker cp _env/nginx.conf srobo:/etc/nginx/nginx.conf && docker kill -s HUP srobo
  8. Refresh your browser and bask in the glory of your changes

Making changes

When you've made a change, either push it to a forked repository, or to a feature branch, and raise a pull request.

Deployment

Note: full deployment instructions have their own README

The master branch of repo is built into a Docker image by Circle CI which is then deployed manually into a Kubernetes hosted on Google Cloud.

website's People

Contributors

adimote avatar andybusse avatar antoinepetty avatar as2247 avatar dependabot[bot] avatar jimmythompson avatar peterjclaw avatar raccube avatar realorangeone avatar rgilton avatar richardbarlow avatar scarzy avatar sedders123 avatar trickeydan avatar tyler-ward avatar willb97 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.