forked from leechunkin/station-web
-
Notifications
You must be signed in to change notification settings - Fork 0
JohnKHW/station-web
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
<?xml version='1.0' encoding='UTF-8' standalone='yes'?> <html xmlns='http://www.w3.org/1999/xhtml'> <head><title>Read me</title></head> <body> <section> <h1> Introduction </h1> <p> This is the website of Station. </p> </section> <section> <h1> Installation </h1> <p> Install database <a href="https://www.postgresql.org/">PostgreSQL</a>. </p> <p> Install Haskell compiler <a href="https://www.haskell.org/ghc/">GHC</a> and package installer <a href="https://www.haskell.org/cabal/index.html">cabal-install</a>. </p> </section> <section> <h1> Environment variables </h1> <p> <table> <thead> <th>Variable</th> <th>Type</th> <th>Default</th> <th>Description</th> </thead> <tbody> <tr> <td>PORT</td> <td>number</td> <td>8000</td> <td>Socket port to listen on</td> </tr> <tr> <td>DATABASE_URL</td> <td>connection string</td> <td></td> <td>PostgreSQL database to use</td> </tr> <tr> <td>LOG</td> <td>True / False</td> <td>False</td> <td>Display log messages</td> </tr> </tbody> </table> </p> </section> <section> <h1> Initialize database </h1> <p> Command line: <br/> <code>psql $DATABASE_URL < sql/setup.sql</code> </p> </section> <section> <h1> Execution </h1> <p> Command line: <br/> <code>cabal v2-run</code> </p> </section> </body> </html>
About
Web site for station
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Haskell 36.5%
- HTML 28.1%
- CSS 17.1%
- XSLT 15.6%
- JavaScript 1.7%
- TSQL 0.8%
- Shell 0.2%