mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-30 11:51:57 +00:00
update server name
This commit is contained in:
committed by
Keagan McClelland
parent
b0453e1d4a
commit
e4d54e90b7
14
README.md
14
README.md
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user