Edge partitioning is a tutorial-like web application to allow computer science students who have partial knowledge of Algorithms and Data Structure to grasp the knowledge about the edge partitioning algorithm.
The web application is hosted on http://edge-partitioning.herokuapp.com/
- Open up a terminal
- Clone this repository by typing
git clone https://github.com/weiyilimm/edge-partitioning-bipartite-graph.git
- Create a virtual python env by typing
conda create -n yourenvname
- Activate the env by typing
conda activate yourenvname
- Access to the
edge-partitioning-bipartite-graph/webapp/
folder and install the libraries by typingpip install -r requirements.txt
- Now get path of python.exe by typing
python
in terminal, followed byimport sys
andprint(sys.executable)
- Copy the output and paste it in inside the method
spawn
ofedge-partitioning-bipartite-graph/webapp/app.js
- Ensure that you are in
edge-partitioning-bipartite-graph/webapp/
folder, and typenpm start
to run the middleware (Express.js) - While keeping the previous terminal, open up another terminal and access to
edge-partitioning-bipartite-graph/webapp/client
, and typenpm start
to run the website locally