https://github.com/akvo/isco
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/akvo/isco
- Owner: akvo
- Created: 2021-02-18T10:25:34.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-15T11:02:01.000Z (8 months ago)
- Last Synced: 2025-05-15T11:49:37.633Z (8 months ago)
- Language: JavaScript
- Size: 3.53 MB
- Stars: 1
- Watchers: 8
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ISCO
[](https://akvo.semaphoreci.com/projects/isco) [](https://img.shields.io/github/repo-size/akvo/isco) [](https://img.shields.io/github/languages/count/akvo/isco) [](https://img.shields.io/github/issues/akvo/isco) [](https://img.shields.io/github/last-commit/akvo/isco/main) [](https://coveralls.io/github/akvo/isco?branch=main)
## Prerequisite
- Docker > v19
- Docker Compose > v2.1
- Docker Sync 0.7.1
## Development
### Environment Setup
Expected that PORT 5432 and 3000 are not being used by other services.
#### Start
For initial run, you need to create a new docker volume.
```bash
docker volume create isco-docker-sync
```
```bash
./dc.sh up -d
```
The app should be running at: [localhost:3000](http://localhost:3000). Any endpoints with prefix
- `^/api/*` is redirected to [localhost:5000/api](http://localhost:5000/api)
Network Config:
- [setupProxy.js](https://github.com/akvo/isco/blob/main/frontend/src/setupProxy.js)
- [mainnetwork](https://github.com/akvo/isco/blob/docker-compose.override.yml#L4-L8) container setup
#### Log
```bash
./dc.sh log --follow
```
Available containers:
- backend
- frontend
- mainnetwork
- db
- pgadmin
#### Stop
```bash
./dc.sh stop
```
#### Teardown
```bash
docker-compose down -v
docker volume rm isco-docker-sync
```
## Production
```bash
export CI_COMMIT='local'
./ci/build.sh
```
Above command will generate two docker images with prefix `eu.gcr.io/akvo-lumen/isco` for backend and frontend
```bash
docker-compose -f docker-compose.yml -f docker-compose.ci.yml up -d
```
Network config: [nginx](https://github.com/akvo/isco/blob/main/frontend/nginx/conf.d/default.conf)