Giter Site home page Giter Site logo

gpa-main's Introduction

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

gpa-main's People

Contributors

070624 avatar ingvald avatar jsolaas avatar kondulak10 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

teeejay

gpa-main's Issues

authentication in client

need for login? (not open for all within Equinor?) ask Jingshi....... authentication? (not really, but identify groups/ types of users for most useful set of calcs etc) + authorization! (user-saved calculations, f.ex - only same user? or if shared, only same department or similar?)

init microservice architecture

  • A proxy (API) in front of all microservices?
    • How should communication between service happen?
    • GraphQL, do we need to port to REST API?
    • HTTP vs gRPC?
  • Single DB vs multiple instances for each service?
  • Repository: create service folder, move API inside and rename to neqsim

standard version for lng ageing calculation

Add a box under Standard in LNG Ageing selecting "Standard version". Valid values are 1995 and 2016. Default seems to be 1995.

This value can be set in neqsim by calling ship.useStandardVersion("", "2016"); after values for standardISO6976 has been set.

create hg python library

The library should wrap the Fortran code, and be able to provide methods for:

  • multiphase flash algorithm
  • chemical & phase equilibrium algorithm

Investigate density calc for LNG

vi bør endre metoden vi bruker for å beregne tetthet

tetthet som rapporteres i LNG aldring bør beregnes slik:

standardDensity = new Standard_ISO6578(getThermoSystem());
standardDensity.calculate();
density[j] = standardDensity.getValue("density");

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.