在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):fpco/stackage-server开源软件地址(OpenSource Url):https://github.com/fpco/stackage-server开源编程语言(OpenSource Language):Haskell 60.9%开源软件介绍(OpenSource Introduction):stackage-serverServer for stable, curated Haskell package sets This repo is part of the Stackage project, and the live server can be viewed at https://www.stackage.org. Building locallyBuild locally by passing the $ stack build . --flag stackage-server:dev Simple testing with sqlite:To test the UI without real data, just run:
Testing with postgresqlNow, initially you need to run the cron job to create and populate the database: $ export PGSTRING=postgresql://postgres:password@localhost:5432/stackage
$ stack exec stackage-server-cron Note that you need to modify the PGSTRING environment variable according to your actual database configuration. Also, you need to create an empty database before running the cron job. Note that it takes quites some time for it to load your database. After this, run the stackage server: $ export PGSTRING=postgresql://postgres:password@localhost:5432/stackage
$ stack exec stackage-server |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论