The spaceapi.io website.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
content
logo
schema
theme
.gitignore
.gitmodules
Dockerfile
Makefile
Pipfile
Pipfile.lock
README.md
develop_server.sh
generate_api_docs.py
pelicanconf.py
publishconf.py

README.md

spaceapi.io

CircleCI Docker Image

This are the sources for the SpaceAPI website.

The website is generated using Pelican, a static site generator written in Python. This simplifies hosting and makes the website very fast.

Run server locally

Prerequisites: Python 3 and pipenv.

$ pipenv install
$ pipenv run make html serve

Then visit http://localhost:8000 in your browser to see the result.

Change contents

To apply the changes of contents of /content/pages/* you must restart the webserver:

make html serve

Re-generate API docs

Update the file inside schema/. Then:

python generate_api_docs.py > content/pages/docs.md

Deployment

The website should auto-deploy after a push to master. The update might take a few minutes though.