Skip to content

elcolie/HT6MInterface

Repository files navigation

HT6MInterface

A simple skeleton for React and Django with legacy command line by file

Requirements

  1. Django2
  2. Rabbitmq
  3. node 8.9.4 for Reactjs

How to install dependencies

  1. pip install -r requirements.txt

How to run in development mode

$ export FLASK_APP=main.py
$ export FLASK_DEBUG=1
$ flask run

By default it will start Flask at port 5000 with hot reload

Hot to run React in development mode

$ cd f1
$ npm install
$ npm start

By default npm will start serving file at port 3000 with hot reload Start browse web from 3000

Celery&Rabbitmq

  1. brew install rabbitmq
  2. brew services start rabbitmq
  3. celery -A ht6m worker -l info. To start worker in the another terminal
  4. python manage.py runserver
  5. npm start

About

PoC React consumes Django by RESTApis. And Celery for dispatching job to Fortran simulator at OS level. Directory structure for Lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published