Git Product home page Git Product logo

futuregov-technology's Introduction

FutureGov technology wiki

LIVE VERSION HERE

A basic technology wiki app for FutureGov-ers.

It's a Rails app using Google OAuth to grant access to anyone with a @wearefuturegov.com Google Account.

It needs Google API credentials to make this work.

It uses npm to manage front-end dependencies.

Deploying to Heroku

Create a new Heroku app in the normal way and push this repo to it. Make sure that the RAILS_MASTER_KEY config variable is set so that the Google API keys in config/credentials.yml can be decrypted.

Then, run rails db:schema:load and rails db:seed to prepare the database and create some basic categories for entries to exist in.

For the login flow to work, make sure that over on the Google API console:

  • the Heroku URL is set as an authorised domain
  • the authorised javascript origin is set
  • the authorised redirect URI is set

If you have issues, make sure that both the ruby and nodejs buildpacks exist in the Heroku app, and that the nodejs buildpack is set to run first. Otherwise, Rails asset compilation will fail.

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.