The application for computing some problems in formal languages and automata
- Install Node.js (https://nodejs.org/en/).
- Install yarn.
Starting frontend:
Frontend runs in React and uses yarn package manager.
For starting frontend go to foja_computer/src
folder and type these commands:
yarn
- for installing and linking dependencies.yarn start
- for starting frontend.
Starting server:
FOJA (formal languages and automata) algorithms run in C++, so we need to have the server for communication betwen React and C++, it ensures nodejs server. For starting nodejs server follow these steps.
- Go to
foja_computer/server/algorithms_c++
and typenode-gyp configure build
- for compiling C++ program (Only if you have changed the C++ source code or if you are starting it first time), if you dont have node-gyp, install it. - Go to
foja_computer/server
and typenode server.js
- for starting the server.