Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

wxh06/xyzzyy

Repository files navigation

xyzzyy

Python package Node.js CI Docker Build Status Docker Cloud Automated build Docker Cloud Build Status Maintainability License Code style: black

校园智障英语

Dependencies

Installation

Via Docker

wangxinhe/xyzzyy - Docker Hub

docker pull wangxinhe/xyzzyy

Package xyzzyy · wxh06/xyzzyy

docker pull docker.pkg.github.com/wxh06/xyzzyy/xyzzyy:latest

From source

  1. Clone via Git
git clone https://github.com/wxh06/xyzzyy.git
  1. Install Dependencies via pip & npm
pip install -r requirements.txt
npm i

Usage

export FLASK_APP=app.py
python -m flask run

Then head over to http://127.0.0.1:5000/.

WSGIScriptAlias / /path/to/xyzzyy/wsgi.py

Apache HTTPD in Docker

If you've already pulled the Docker image, try

docker run -d -p 8080:80 -t wangxinhe/xyzzyy

Then you'll get:

$ curl -I 127.0.0.1:8080/
HTTP/1.1 200 OK
Date: ...
Server: Apache/2.4 (Unix)
Content-Length: ...
Last-Modified: ...
Cache-Control: public, max-age=43200
Expires: ...
ETag: "..."
Content-Type: text/html; charset=utf-8