Giter Site home page Giter Site logo

jcvi-cloud / osqa-heroku Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joshfinnie/osqa-heroku

0.0 4.0 0.0 1.69 MB

A repository that will get you running OSQA on Heroku quickly.

Home Page: http://osqa-heroku.herokuapp.com/

Python 83.88% JavaScript 16.12%

osqa-heroku's Introduction

*******************************************************************************
OSQA ON HEROKU
*******************************************************************************

For database backup from Heroku, use a local postgres engine:
http://postgresapp.com/

psql>SELECT datname FROM pg_database;
psql>create database osqa_bakcup_02052013;

~/osx-cmdln/>heroku db:pull postgres://kkrampis@localhost/osqa_backup_02052013 --app gsc-cloud
~/osx-cmdln/>heroku db:push postgres://kkrampis@localhost/osqa_backup_02052013 --app gsc-cloud-devel

*******************************************************************************
OSQA is the free, open source Q&A system you've been waiting for. Your OSQA 
site is more than just an FAQ page, it is a full-featured Q&A community. Users 
earn points and badges for useful participation, and everyone in the community 
wins. [1]

This repository contains a working copy of OSQA that will run on Heroku [2].
There were a few changes from the standard install to make everything run 
smoothly. I also added the Gunicorn WSGI webserver [3] for your convienence.

REQUIREMENTS

see requirements.txt

INSTALLATION

1 - Clone repository : git clone https://github.com/joshfinnie/osqa-heroku yourapp
2 - Fill out your settings : edit osqa/settings_local.py
3 - Create Heroku app : heroku create --stack cedar
4 - Push app to Heroku : git push heroku master
5 - Sync DB : heroku run python osqa/manage.py syncdb --all
6 - Create database superuser : Follow instructions in terminal
7 - Migrate DB : heroku run python osqa/manage.py migrate forum --fake
8 - View app : heroku open

RUN LOCALLY

1 - Create Virtualenv : virtualenv venv --distribute
2 - Source virtualenv : source venv/bin/activate
3 - Install dependencies : pip install -r requirements.txt
4 - Run app through Foreman : foreman start

References:
[1] http://www.osqa.net/
[2] http://www.heroku.com/
[3] http://gunicorn.org/

osqa-heroku's People

Contributors

agbiotec avatar

Watchers

 avatar  avatar Andrey Tovchigrechko avatar James Cloos 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.