Skip to main content

Analog space habitat operating system.

Project description

Operating System for analog extraterrestrial habitats.

Requirements

Minimal

  • Python >= 3.6
  • Installed requirements from requirements.txt file

Install

Download the project

$ git clone https://github.com/AstroMatt/HabitatOS.git

Setup environment and install dependencies:

$ python -m venv .virtualenv
$ source .virtualenv/bin/activate
$ pip install -r requirements.txt

Create database and load data

$ python manage.py migrate
$ python manage.py createsuperuser
$ python manage.py loaddata fixtures/*

Verify

$ python manage.py test --verbosity 2

Run

$ gunicorn habitat.wsgi

Open browser and use:

$ open http://127.0.0.1:8000/

Cache

In order to Memcache as a cache:

$ brew install memcached
$ brew install libmemcached
$ python -m pip install pylibmc
$ memcached -d -s /tmp/memcached.sock

Database

# linux (Debian/Ubuntu based)
$ apt-get install postgresql

# macOS
$ brew install postgresql

Development

API Documentation

Pre-Commit Hook

#!/bin/sh
set -e

pep8 habitat
python manage.py check
python manage.py makemigrations
python manage.py migrate
python manage.py test --verbosity 2

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
HabitatOS-0.9.0.tar.gz (382.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page