diff --git a/README.md b/README.md index 65b6cbd..ee224a1 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,11 @@ # capstone-static -The Caselaw Access Project was a large-scale digitization project hosted by the [Harvard Law School Library Innovation Lab](http://lil.law.harvard.edu/). +The Caselaw Access Project is a large-scale digitization project hosted by the [Harvard Law School Library Innovation Lab](http://lil.law.harvard.edu/). -This is a static, archival port of the [website originally hosted at case.law](https://github.com/harvard-lil/capstone), which served court opinions and an accompanying suite of tools to users in a variety of formats. +This is a static, archival port of the [website originally hosted at case.law](https://github.com/harvard-lil/capstone), which served court opinions and an accompanying suite of tools to users in a variety of formats. The static website uses client-side javascript to allow browsing of the static case data hosted at https://static.case.law. This repository does not itself contain case data: visit the [website](https://case.law) to browse and download case data. - --- ## Summary diff --git a/run.py b/run.py index bdb65b9..81d58ed 100755 --- a/run.py +++ b/run.py @@ -23,13 +23,14 @@ def send_error(self, code, message=None): import os import sys + BIND = "127.0.0.1" PORT = 5501 DIRECTORY = 'src' parser = argparse.ArgumentParser(description="A wrapper for http.server with generous CORS headers") - parser.add_argument("port", nargs='?', type=int, default=PORT, help=f"specify alternate port (default: {PORT})") - parser.add_argument("--bind", "-b", metavar='ADDRESS', help="specify alternate bind address (default: all interfaces)") - parser.add_argument("--directory", "-d", default=DIRECTORY, metavar='DIRECTORY', help="specify alternate directory (default: current directory)") + parser.add_argument("--port", type=int, default=PORT, help=f"specify alternate port (default: {PORT})") + parser.add_argument("--bind", "-b", metavar='ADDRESS', default=BIND, help=f"specify alternate bind address (default: {BIND})") + parser.add_argument("--directory", "-d", default=DIRECTORY, help="specify alternate directory (default: current directory)") args = parser.parse_args() os.chdir(args.directory) diff --git a/src/about/index.html b/src/about/index.html index da71782..9cb05d4 100644 --- a/src/about/index.html +++ b/src/about/index.html @@ -79,6 +79,7 @@ content="../images/favicon/mstile-150x150.png" /> + + + + + + + + + + + + + + + + + + + + + + +