Skip to main content

Analog space habitat operating system.

Project description

Operating System for analog extraterrestrial habitats.

Contact

Author
name:

Matt Harasymczuk

email:

HabitatOS@astrotech.io

www:

http://www.astromatt.space

facebook:

https://facebook.com/astromatt.space

linkedin:

https://linkedin.com/in/mattharasymczuk

slideshare:

https://www.slideshare.net/astromatt/presentations

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

CI/CD

https://travis-ci.org/AstroMatt/HabitatOS.svg?branch=master

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

Authorization

Timezone

Project details


Download files

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

Source Distribution

HabitatOS-0.9.0.tar.gz (382.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page