Code Monkey home page Code Monkey logo

problematica-public's Introduction

Problematica

Unsolved problems get solved, in style!

GitHub release Build Status GitHub issues

Table of Contents:

Getting Started

Setting up your virtual environment
Set up environment variables
Running the app

Getting Started

Note: Development currently limited to those who have access to our Heroku account.

Setting up your virtual environment:

  1. Install the virtualenv package by running pip install virtualenv.
  2. Create a folder called virtualenv at the same level as the root folder of the cloned Problematica repo.
  3. cd into the new folder and create a virtualenv called problematica by running the command: virtualenv problematica
  4. Go back into the root of our repo and run the script that I wrote for enabling the virtualenv by running the following command: source scripts/start-venv.sh
  5. Verify that you are in the correct venv by running: pip -V. It should show the project folder, not a global disk folder.
  6. Make sure your new virtualenv has the packages listed in requirements.txt by running pip install -r requirements.txt
  7. You should be all set to run the project locally!

Set up environment variables:

  1. Create a new file named .env containing all the sensitive data that will be needed, in the following format:
ROOT_URL='https://problematica.herokuapp.com/'
DATABASE_URL='value'
ADMIN_PW=value
STRIPE_API_KEY=value
STRIPE_CHECKOUT_KEY=value

replacing the value text by the actual keys and passwords that are being used.

Running the app:

For current developers with access to Heroku, run the command heroku local web
The app should now be running on http://localhost:5000/

problematica-public's People

Contributors

techmaz avatar annisakaraca avatar

Watchers

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