update server name

This commit is contained in:
Lucy Cifferello
2021-11-22 13:06:31 -07:00
parent eacaa0c78f
commit 85f080a86f

View File

@@ -3,10 +3,10 @@
After installing Postgres, run: After installing Postgres, run:
``` ```
createuser start9-companion-server --pwprompt --superuser createuser start9-registry --pwprompt --superuser
# Enter password start9-companion-server when prompted # Enter password start9-registry when prompted
createdb start9-companion-server createdb start9-registry
createdb start9-companion-server_test createdb start9-registry_test
``` ```
## Haskell Setup ## Haskell Setup
@@ -44,11 +44,15 @@ To create `hie.yaml` if it does not exist:
## Tests ## 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). (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 ### Tests with HIE Setup
- install hspec-discover globally `cabal install hspec-discover` (requires cabal installation) - 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 - Current [issue](https://github.com/haskell/haskell-ide-engine/issues/1564) open for error pertaining to obtaining flags for test files