A modern dashboard for OpenStack - API server
Go to file
Hanxiang Gao 38ea9e3d59 feat: Add initial code of skyline-apiserver
Add initial code of skyline-apiserver

Change-Id: Ib425960b707237193fd8531fb3989f29282f5b58
2021-06-01 23:39:57 +08:00
docs/api feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
etc feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
libs feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
src/skyline_apiserver feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
tests feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
tools/git_config feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
.dockerignore feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
.flake8 feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
.gitignore feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
.gitreview Added .gitreview 2021-05-08 17:14:30 +00:00
.zuul.yaml Add Zuul support for new repository 2021-05-10 12:47:51 +02:00
LICENSE feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
Makefile feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
README-zh_CN.md feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
README.md feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
alembic.ini feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
mypy.ini feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
poetry.lock feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
poetry.toml feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00
pyproject.toml feat: Add initial code of skyline-apiserver 2021-06-01 23:39:57 +08:00

README.md

Skyline API

English | 简体中文

Quick Start

Dependent tools

Development mode

Only support Linux (Because uvloop & cython)

make install
cp etc/skyline_apiserver.yaml.sample etc/skyline_apiserver.yaml
export OS_CONFIG_DIR=$(pwd)/etc
rm -f /tmp/skyline_apiserver.db
make db_sync
# $ poetry run gunicorn -c etc/gunicorn.py --reload skyline_apiserver.main:app
$ poetry run uvicorn --reload --port 28000 --log-level debug skyline_apiserver.main:app

INFO:     Uvicorn running on http://127.0.0.1:28000 (Press CTRL+C to quit)
INFO:     Started reloader process [154033] using statreload
INFO:     Started server process [154037]
INFO:     Waiting for application startup.
INFO:     Application startup complete.

You can now access the online API documentation: http://127.0.0.1:28000/docs