Skip to content
/ melasa Public

Repository around computations and visualizations of anisotropic elastic properties of lamellar (nano-)composites.

License

Notifications You must be signed in to change notification settings

dudko/melasa

Repository files navigation

MELASA (Multi-phase ELAStic Aggregates)

tool for computations and visualizations of anisotropic elastic properties of lamellar (nano-)composites

Development

Requirements

  • node.js (tested with version >=6.x )

Local development

cd react-app
cp .env.example .env # and edit
npm i
npm start

In another terminal do:

cd node-server
cp .env.example .env # and edit
npm i
node index.js

Deployment to production server

Requirements

  • docker, docker-compose

Server setup

  1. clone the repo and cd into it
  2. create directory secrets and add melasa-cerit-sc.pem to it
  3. cd react-app
    cp env.example .env # in this case REACT_APP_API_ENDPOINT=https://melasa.cerit-sc.cz/api
    npm i
    npm run build
    
  4. cp node-server/{env.example,.env} # and edit
  5. in repo root run docker-compose up -d --force-recreate --build

Docker issue with MTU

Network card provided to virtual machine hosting the MELASA do not have the default MTU of 1500. Problem and its solution is described here. MTU value can be determined with:

$ docker network inspect bridge  | grep mtu | awk '{print $2}'

License

Licensed as MIT.

About

Repository around computations and visualizations of anisotropic elastic properties of lamellar (nano-)composites.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •