Giter VIP home page Giter VIP logo

react's Introduction

REACT

Development of a GUI for setting up and analysing DFT reaction (free) energies.

We recomend that you set up your python environment with homebrew. If you do not have homebrew, you can install this with /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Quick install:

  • ./install.sh

Install python environment from requirements.txt.

General dependencies

  • Python3.9 (brew install [email protected] )
    • Want to use a different python3 version? See ** at the end of this file
  • PyQt5 (python -m pip install pyqt5 )
  • Matplotlib (python -m pip install matplotlib )
  • Numpy (python -m pip install numpy )
  • OpenGL (python -m pip install pyOpenGL )

Making bundle App (mac) / exe binary (win) / unix binary (linux) with pyinstaller 4.2 Install pyinstaller (python -m pip install pyinstaller). The pyinstaller spec files for REACT and Open Source Pymol are already created, so all we now have to do is to run then,

Make Open Source Pymol bundle:

  1. Go to /OpenSourcePymol and run pyinstaller OpenSourcePymol.spec
  2. Verify that the bundle runs. On MAC: open OpenSourcePymol/dist/OpenSourcePymol.app (mac) .
  3. Now, create the REACT bundle, which now includes the Open Source Pymol binary:
  4. Go to root (where REACT.py is) and run pyinstaller REACT.spec
  5. Verify that the bundle runs. On Mac: open dist/REACT.app

** Running python3 version different than 3.9. If you will not be using the included Open Source Pymol, REACT can most likely be run from source and compiled with any python3 version compatible with PyQt5. If you already have a local pymol version, you can point to this in the REACT settings and set it as your pymol for REACT.

If you would like to use Open Source Pymol, you will need to compile it with your python version (version != 3.9). To do this, follow the instructions given at the official Open Source Pymol Github repository to compile it. Go to the path where you installed Open Source Pymol and cd into "site-packages" (where you see the directories pymol, pymol2, pmg_qt etc.). Do cp -r * path_to_REACT/OpenSourcePymol/ to replace our python3.9 version of Open Source Pymol with yours. Now you can follow the steps above to make the REACT/OpenSourcePymol binary/bundle/app. Good luck :)

Now you can take the included pyinstaller OpenSourcePymol.spec and run it i

react's People

Contributors

benteb avatar ryanswilkins avatar

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.