CS 433 Project: MINIStackoverflow
How to run?
Setting up the server
- Make sure you have
python
,mysql
andmysql-connector
installed in your Ubuntu system. - Create a database
mydb
with password0000
. - Run
cd flask-server
to enter the server directory. - Run
make schema
to create the schema in the database. - Run
make demo
to create some demo entries in the database. - Run
flask run
to start the server atlocalhost:5000
.
Starting the client
- Make sure you have
nodejs
installed in your system. - Run
cd python-client
to enter the client directory. yarn
/npm i
yarn start
/npm run start
test-client
in mininet
Testing with - xterm -fa 'Monospace' -fs 14