Source

ngpy /

Filename Size Date modified Message
css-examples/flask.pocoo.org
flask-examples
ngpy
tests
tools
174 B
500 B
896 B
184 B
1.5 KB
424 B
1.6 KB
900 B
162 B
249 B
941 B
483 B
2.6 KB
1.4 KB

NGPy

NGPy is a web application that enable online performing and analyzing Monte-Carlo simulation on nucleation and growth phenomena. It can be also used as a web framework to develop your own web applications. NGPy is built on top of Flask.

Quickstart

1. Install

$ easy_install ngpy

or

$ tar -xvf ngpy-xxx.tar.gz
$ cd ngpy-xxx
$ python setup.py install
  • Make sure that the NoSQL database redis is installed in your system.
  • Other dependencies like ZODB, WTForm, Numpy, and Matplotlib should be taken care by easy_install. If not, try to install them mannually.

2. Start ZODB server

$ runzeo -a 0.0.0.0:<ZEOPORT> -f /path/to/your/data.fs
  • <ZEOPORT> must be an available port number, e.g. 1234

3. Start redis server

$ redis-server [/path/to/redis.conf]

4. Start the task queue daemon

$ simd [-r <server>] [-q <qkey>]

5. Start ngpy

$ run-ngpy

The ngpy website should be now served at http://localhost:5000. You can visit it use any browser (Chrome, Firefox, IE, etc.) via http://localhost:5000 if you are a local visitor, or http://IP.of.NGPy.run:5000 if you visit remotely.

Ask for Help