-
clone this repo
-
install npm
-
cd into weibo/Application/static do: npm install (This will install all the dependences in package.json)
-
npm run watch (This will compile your react code into weibo/Application/static/dist/bundle.js)
-
Oepn another Tab
-
cd into weibo do: python app.py
-
go to http://localhost:5000/ and enjoy
- brew install mysql
- brew services start mysql
- mysql.server start
- pip install mysqlclient
- pip install -r requirements.txt