-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean unit-tests and fix lint errors
- Loading branch information
Showing
8 changed files
with
32 additions
and
96 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
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ The following steps must be carried out once: | |
3. Set environment variables for dockers in `web-asset-swissgeol\development\.env` | ||
4. Set environment variables for assets-server in `web-asset-swissgeol\apps\server-asset-sg\.env.local` | ||
5. Create local postgis-gotrue docker-image `development\images\db> docker build -t postgis-gotrue .` | ||
6. Creating elastic-search index. Execute in Kibana (`http://localhost:5601/app/dev_tools#/console`) the commands fro file `web-asset-swissgeol\development\init\elasticsearch\index`. --> docker must be started (see below) | ||
|
||
### Starting the development environment | ||
|
||
|
@@ -24,18 +25,26 @@ The following steps must be carried out once: | |
|
||
**The following services/applications are then available** | ||
|
||
| 🔖 Dienst/Anwendung | 🔗Adresse | 🧞Benutzername | 🔐Passwort | | ||
| :----------------------| :------------------------------------------------| :---------------------| :---------------------- | | ||
| Assets | [localhost:4200](http://localhost:4200/) | `[email protected]` | `adminAssets` | | ||
| Assets REST API | [localhost:3333/api/](http://localhost:3333/api) | n/a | n/a | | ||
| postgresSQL (docker) | localhost:5432 | .env `$DB_USER` |.env `$DB_PASSWORD` | | ||
| Elasticsearch (docker) | [localhost:9200](http://localhost:9200) | n/a | n/a | | ||
| Kibana (docker) | [localhost:5601](http://localhost:5601) | n/a | n/a | | ||
| pgAdmin (docker) | [localhost:5051](http://localhost:5051/) | .env `$PGADMIN_EMAIL` |.env `$PGADMIN_PASSWORD` | | ||
| MinIO (docker) | [localhost:9001](http://localhost:9001/) | .env `$STORAGE_USER` |.env `$STORAGE_PASSWORD` | | ||
| smtp4dev (docker) | [localhost:5000](http://localhost:5000/) | n/a | n/a | | ||
| 🔖 App/Service | 🔗Link | 🧞User | 🔐Password | | ||
| :---------------------- --| :------------------------------------------------| :---------------------| :---------------------- | | ||
| Assets (client) | [localhost:4200](http://localhost:4200/) | `[email protected]` | `adminAssets` | | ||
| Assets REST API (server) | [localhost:3333/api/](http://localhost:3333/api) | n/a | n/a | | ||
| postgresSQL (docker) | localhost:5432 | .env `$DB_USER` |.env `$DB_PASSWORD` | | ||
| Elasticsearch (docker) | [localhost:9200](http://localhost:9200) | n/a | n/a | | ||
| Kibana (docker) | [localhost:5601](http://localhost:5601) | n/a | n/a | | ||
| pgAdmin (docker) | [localhost:5051](http://localhost:5051/) | .env `$PGADMIN_EMAIL` |.env `$PGADMIN_PASSWORD` | | ||
| MinIO (docker) | [localhost:9001](http://localhost:9001/) | .env `$STORAGE_USER` |.env `$STORAGE_PASSWORD` | | ||
| smtp4dev (docker) | [localhost:5000](http://localhost:5000/) | n/a | n/a | | ||
|
||
### Creating elastic-search index | ||
|
||
1. Execute in Kibana (`http://localhost:5601/app/dev_tools#/console`) the commands fro file `web-asset-swissgeol\development\init\elasticsearch\index`. | ||
|
||
|
||
|
||
### Commands in development environment | ||
|
||
| Action | Command | Description | | ||
| :------| :------------------------------------| :-----------------------------------------| | ||
| start | `web-asset-swissgeol> npm run start` | Starts asset-client and asset-api. | | ||
| build | `web-asset-swissgeol> npm run build` | Builds asset-client and asset-api. | | ||
| test | `web-asset-swissgeol> npm run test` | Executes tests all apps and libs. | | ||
| lint | `web-asset-swissgeol> npm run lint` | Analyzes the code from all apps and libs. | |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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