Fixed issue issue#6 and orborus
This commit is contained in:
@@ -25,8 +25,8 @@ Documentation can be found on https://shuffler.io/docs/about or in your own inst
|
|||||||
* Debug view for manual executions
|
* Debug view for manual executions
|
||||||
* App versioning
|
* App versioning
|
||||||
|
|
||||||
### Setup - Local
|
### Setup - Local development
|
||||||
Frontend - requires [npm](https://nodejs.org/en/download/)/[yarn](https://yarnpkg.com/lang/en/docs/install/#debian-stable)/your preferred manager. Runs independently from backend - edit frontend/src/App.yaml to change from localhost to prod setting.
|
Frontend - requires [npm](https://nodejs.org/en/download/)/[yarn](https://yarnpkg.com/lang/en/docs/install/#debian-stable)/your preferred manager. Runs independently from backend - edit frontend/src/App.yaml (line 46~) from window.location.origin to http://YOUR IP:5001
|
||||||
```bash
|
```bash
|
||||||
cd frontend
|
cd frontend
|
||||||
npm i
|
npm i
|
||||||
@@ -37,10 +37,22 @@ Backend - API calls - requires [>=go1.13](https://golang.org/dl/) and [gcloud](h
|
|||||||
```bash
|
```bash
|
||||||
cd backend/go-app
|
cd backend/go-app
|
||||||
go build
|
go build
|
||||||
sudo apt -y update && sudo apt -y upgrade && sudo apt install -y google-cloud-sdk-app-engine-python google-cloud-sdk-app-engine-python google-cloud-sdk-datastore-emulator google-cloud-sdk-app-engine-go
|
|
||||||
go run *.go
|
go run *.go
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Database - Datastore:
|
||||||
|
```
|
||||||
|
docker run -p 8000:8000 google/cloud-sdk gcloud beta emulators datastore start --project=shuffle --host-port 0.0.0.0:8000 --no-store-on-disk
|
||||||
|
```
|
||||||
|
|
||||||
|
Orborus - Execution of Workflows:
|
||||||
|
PS: This requires some specific environment variables.
|
||||||
|
```
|
||||||
|
cd functions/onprem/orborus
|
||||||
|
go run orborus.go
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Project overview
|
### Project overview
|
||||||
Below is the folder structure with a short explanation
|
Below is the folder structure with a short explanation
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
+1
-1
@@ -52,7 +52,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- ORG_ID=${ORG_ID}
|
- ORG_ID=${ORG_ID}
|
||||||
- ENVIRONMENT_NAME=${ENVIRONMENT_NAME}
|
- ENVIRONMENT_NAME=${ENVIRONMENT_NAME}
|
||||||
- BASE_URL=http://${OUTER_HOSTNAME}:{BACKEND_PORT}
|
- BASE_URL=http://${OUTER_HOSTNAME}:${BACKEND_PORT}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
app_sdk:
|
app_sdk:
|
||||||
#build: ./functions/onprem/app_sdk
|
#build: ./functions/onprem/app_sdk
|
||||||
|
|||||||
Reference in New Issue
Block a user