Skip to content

Commit ccd0866

Browse files
doc: Add readme
1 parent b1a3975 commit ccd0866

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

README.md

+16-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1-
## api
1+
## flask-vuejs-tutorial
22

3-
### Project Setup
3+
A tutorial to integrate Vue.js with flask
44

5-
1. `pip install -r requirements.txt`
6-
2. `chmod +x unit-tests.sh`
7-
3. `./unit-tests.sh`
5+
### Installation
6+
1. Clone the repo
7+
2. Run `pip install -r requirements`
8+
3. Run `export FLASK_APP=wsgi:app`
9+
4. Run `flask run`
10+
11+
### Build Web App
12+
In order to rebuild the web app (Vue)
13+
1. Navigate to the `web` folder
14+
2. Run `yarn install`
15+
3. Run `yarn build`
16+
17+
18+
The tutorial can be found [here](https://dev.to/michaelbukachi/flask-vue-js-integration-tutorial-2g90).

0 commit comments

Comments
 (0)