-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
polish: add comments, suppress dead code and comply more strictly to …
…solver API
- Loading branch information
Showing
14 changed files
with
160 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# How to contribute. | ||
|
||
## Required tools | ||
|
||
- node.js | ||
- npm | ||
- on mac-os, you have to install xcode command line developer tools (run xcode-select --install) | ||
- gcloud | ||
- docker | ||
- the IDE of your choice | ||
|
||
|
||
## Project setup | ||
|
||
- run `npm install` | ||
- add default keys definitions | ||
- `cp apps/fxc-front/src/app/keys.ts.dist apps/fxc-front/src/app/keys.ts` | ||
- `cp libs/common/src/lib/keys.ts.dist libs/common/src/lib/keys.ts` | ||
|
||
### Simplistic configuration | ||
|
||
**redis server** | ||
- `cd docker; docker compose up -d redis` | ||
|
||
**pubsub** | ||
- `cd docker; docker compose up -d pubsub` | ||
|
||
**datastore** | ||
|
||
For the moment, it does not work with docker compose. But if you install the cloud-datastore-emulator, you will have a working configuration. | ||
|
||
***Installation*** | ||
- `gcloud components install cloud-datastore-emulator` | ||
|
||
***run:*** | ||
- `gcloud beta emulators datastore start` | ||
|
||
**before npm run dev:** | ||
|
||
define the required env variables: | ||
``` | ||
export DATASTORE_DATASET=flyxc | ||
export DATASTORE_EMULATOR_HOST=localhost:8081 | ||
export DATASTORE_EMULATOR_HOST_PATH=localhost:8081/datastore | ||
export DATASTORE_HOST=http://localhost:8081 | ||
export DATASTORE_PROJECT_ID=flyxc | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.