From 85f080a86f6ba580caa8349f2b64e18cb1289b18 Mon Sep 17 00:00:00 2001 From: Lucy Cifferello <12953208+elvece@users.noreply.github.com> Date: Mon, 22 Nov 2021 13:06:31 -0700 Subject: [PATCH] update server name --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a05e085..cd63d16 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@ After installing Postgres, run: ``` -createuser start9-companion-server --pwprompt --superuser -# Enter password start9-companion-server when prompted -createdb start9-companion-server -createdb start9-companion-server_test +createuser start9-registry --pwprompt --superuser +# Enter password start9-registry when prompted +createdb start9-registry +createdb start9-registry_test ``` ## Haskell Setup @@ -44,11 +44,15 @@ To create `hie.yaml` if it does not exist: ## Tests ``` -stack test --flag start9-companion-server:library-only --flag start9-companion-server:dev +stack test --flag start9-registry:library-only --flag start9-registry:dev ``` (Because `yesod devel` passes the `library-only` and `dev` flags, matching those flags means you don't need to recompile between tests and development, and it disables optimization to speed up your test compile times). +## Builds + +`stack build --copy-bins --local-bin-path=dist` + ### Tests with HIE Setup - install hspec-discover globally `cabal install hspec-discover` (requires cabal installation) - Current [issue](https://github.com/haskell/haskell-ide-engine/issues/1564) open for error pertaining to obtaining flags for test files