Code Monkey home page Code Monkey logo

waterbutler's Introduction

<img src=/docs/waterbutler.png?raw=true" width="25%" style="float:left;">

WaterButler

Documentation Status Code Climate

master Build Status: Build Status

develop Build Status: Build Status

Docs can be found here

Requirements

In order to run waterbutler, you must have a virtualenv created for waterbutler running python 3.5.

For MacOSX, you can install the latest version of python3 using:

brew install python3

For Ubuntu users:

apt-get install python3.5

startup commands

After completing the installation of Python 3.5, you must create the virtual environment, this can be done with the following commands:

pip install virtualenv
pip install virtualenvwrapper
mkvirtualenv --python=python3.5 waterbutler
pip install invoke
invoke install
invoke server

The above code will get the virtualenv up and running for the first time. After the initial setup, you can run waterbutler by running:

workon waterbutler
invoke server

testing configuration (optional)

vim ~/.cos/waterbutler-test.json

Python 3.5's asyncio currently has a bug that is triggered by turning on debugging. If you are upgrading from the 3.4-based WaterButler, make sure to set SERVER_CONFIG.DEBUG to false in your waterbutler-test.json, e.g.

{
  "OSFSTORAGE_PROVIDER_CONFIG": {
    "HMAC_SECRET": "changeme"
  },
  "SERVER_CONFIG": {
    "ADDRESS": "localhost",
    "PORT": 7777,
    "DOMAIN": "http://localhost:7777",
    "DEBUG": false,
    "HMAC_SECRET": "changeme"
  },
  "OSF_AUTH_CONFIG": {
      "API_URL": "http://localhost:5000/api/v1/files/auth/"
  }
}

running the tests (optional)

To run all the tests you will need install some requirements, so try running:

workon waterbutler
invoke install --develop
invoke test

COS is Hiring!

Want to help save science? Want to get paid to develop free, open source software? Check out our openings!

waterbutler's People

Contributors

chrisseto avatar icereval avatar jmcarp avatar felliott avatar rliebz avatar tombaxter avatar mfraezz avatar kushg avatar rafaeldelucena avatar lyndsysimon avatar sloria avatar harryrybacki avatar ticklemepierce avatar andrewsallans avatar bdyetton avatar ghalko avatar laurenrevere avatar samchrisinger 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.