Analog space habitat operating system.
Project description
Operating System for analog extraterrestrial habitats.
Contact
- Author
- name:
- email:
- www:
- facebook:
- linkedin:
- slideshare:
Requirements
Minimal
Python >= 3.6
Installed requirements from requirements.txt file
Recommended
Python >= 3.6
PostgreSQL >= 9.6
Memcache
Nginx
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
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
Timezone
Project details
Release history Release notifications | RSS feed
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)