Skip to content
This repository has been archived by the owner on Aug 4, 2018. It is now read-only.
/ hel Public archive

OpenComputers package repository

License

Notifications You must be signed in to change notification settings

hel-repo/hel

Repository files navigation

Hel Package Repository

A package database and repository of OpenComputers & ComputerCraft programs.

Build Status

Master branch: Travis CI build status

Dev branch: Travis CI build status

Getting Started - Usage

Just open this link in your favorite browser: https://api.fomalhaut.me/

Getting Started - Dev

  • Install python>=3.3, MongoDB 3.2
  • Clone Hel git repository to local directory
  • $ export VENV=<full path to directory containing hel project>/env
  • $ pip3 install virtualenv
  • $ python3 -m virtualenv $VENV
  • $ cd <directory containing this file>
  • $ $VENV/bin/pip install -e .
  • $ $VENV/bin/pserve development.ini

This will set up and run a local copy of hel. http://127.0.0.1:6543/

Testing

To be able to run tests you need to install additional packages with the following command:

$ $VENV/bin/pip install -e '.[testing]'

And there's the command to actually run tests:

$ $VENV/bin/py.test

By default, it also performs "PEP8 sanity checks", and stops after fifth failture.