Skip to content

TeeeJay/gpa-main

 
 

Repository files navigation

Read me

Setting up development environment

1) Clone the libraries

Project: git clone https://github.com/equinor/gpa-main

Dependency: git clone https://github.com/equinor/neqsim

2) Install pre-commit

Optionally create a virtualenv (recommended)

pip install pre-commit
# or
pip install -r main-api/requirements.txt
# then
pre-commit install

3) Run the project

Database: / docker-compose up db

Api: /api Import to IntelliJ and run NeqsimApiApplication.kt

Client: /web npm install npm start

4) Run tests

Client: /web npm test

Pipeline

1) Deploy to pipeline

git push -> pull request (tests for client are automatically run on pull request)

2) Deploy to the environments

Project is automatically deployed from master and release branch (playground and production)

Secrets

API: DB URL, USERNAME, PASSWORD OAUTH: Application ID and Secret, Web url set

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 62.0%
  • CSS 14.5%
  • Kotlin 12.7%
  • Python 6.7%
  • Dockerfile 1.3%
  • Shell 1.1%
  • Other 1.7%