GithubHelp home page GithubHelp logo

bartekbursa / wikihouse.cc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aarongillett/wikihouse.cc

0.0 0.0 0.0 6.67 MB

The WikiHouse Foundation's website

Home Page: https://wikihouse.cc

Ruby 37.84% JavaScript 2.80% CSS 37.90% HTML 21.35% Shell 0.11%

wikihouse.cc's Introduction

Code Climate Issue Count Build Status

The official WikiHouse Foundation website.

WikiHouse Logo

Development setup

Prerequisites:

Then run bin/setup. This script is idempotent, so it can be re-run if something fails.

Environment variables

We rely on environment variables for configuration / secrets. Any key=value pairs specified in a .env file will be automated loaded when the application starts.

You don't need an .env file to run the tests or use the application in development mode, but certain external interactions won't work. To pull down the production environment variables, run bin/copy_production_env (this script will strip out various variables which we shouldn't be using in development).

Copying production database locally

WARNING: This will wipe out your existing data in the wikihouse_development database

$ bin/copy_production_database

Day-to-day development

Run heroku local to start a web server and a job worker (see Procfile). You can now visit the site at http://localhost:5000/.

Run rspec to run the tests.

Deploying

The github master branch is auto-linked to heroku, so a simple git push will put your code on github and heroku at the same time.

Migrations need to be run manually:

$ heroku run rake db:migrate -a wikihousecc

Staging

Push to the master branch of the staging remote:

$ git push staging myfeaturebranch:master

To run migrations:

$ heroku run rake db:migrate -a wikihousecc-staging

View the app at https://staging.wikihouse.cc

DNS

Managed by CloudFlare

Monitoring

The site is periodically pinged by uptimerobot.

wikihouse.cc's People

Contributors

johnrees avatar jonleighton 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.