Code Monkey home page Code Monkey logo

cinemol's Introduction

License: MIT Maintainer Generic badge

MolTools

logo

MolTools is a web-based toolbelt for visualizing and analyzing natural product compounds.

Visit the MolTools toolbelt here.

Run locally for development

Server

Create a local environment with conda and install server side dependencies with pip from src/server/requirements.txt:

conda create -n moltools python=3.10
conda activate moltools
pip install -r src/server/requirements.txt

Client

First install NPM package manager and Node.js on your device.

Then install client side dependencies with NPM from src/client/package.json:

cd src/client
npm install

Run

Run the server in one terminal:

python3 ./app/server/api.py

Run the client in another terminal:

cd src/client
npm start

Visit http://localhost:3000/ to view the app.

Run with Docker

Run the following script to build and run the app in Docker:

run_docker.sh <api_port> <client_port> -d

The app will be available at http://localhost:<client_port>/.

Rebuild Docker image

Run the following script to rebuild the Docker image:

SERVER_PORT=<server_port> CLIENT_PORT=<client_port> BROWSER_PORT=<browser_port> DATABASE_PORT=<database_port> docker-compose build

cinemol's People

Contributors

davidmeijer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cinemol's Issues

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.