You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-6Lines changed: 22 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,46 +74,62 @@ $ npm run build:production
74
74
75
75
### New to Python?
76
76
77
-
If you are approaching this demo as primarily a frontend dev with limited or no Python experience, you may need to install a few things that a seasoned Python dev would already have installed.
77
+
If you are approaching this demo as primarily a frontend dev with limited or no python experience, you may need to install a few things that a seasoned python dev would already have installed.
78
78
79
79
Most Macs already have python 2.7 installed but you may not have pip install. You can check to see if you have them installed:
80
80
81
+
```
81
82
$ python --version
82
83
$ pip --version
84
+
```
83
85
84
86
If pip is not installed, you can follow this simple article to [get both homebrew and python](https://howchoo.com/g/mze4ntbknjk/install-pip-on-mac-os-x)
85
87
86
88
After you install python, you can optionally also install python 3
87
89
90
+
```
88
91
$ brew install python3
92
+
```
89
93
90
94
Now you can check again to see if both python and pip are installed. Once pip is installed, you can download the required flask modules:
Now, you can decide on which database you wish to use.
95
101
96
-
#####New to MySQL?
102
+
#### New to MySQL?
97
103
98
104
If you decide on MySQL, install the free community edition of [MySQL](https://dev.mysql.com/downloads/mysql/) and [MySQL Workbench](https://www.mysql.com/products/workbench/)
99
105
100
-
1. start MySQL
101
-
2. open workbench and create a database called mydatabase
102
-
3.create the DATABASE_URL configuration
106
+
1. start MySQL from the System Preferences
107
+
2. open MySQL Workbench and [create a database](http://stackoverflow.com/questions/5515745/create-a-new-database-with-mysql-workbench) called mydatabase but don't create the tables since flash will do that for you
108
+
3.Install the MySQL connector for Python, add the DATABASE_URL configuration, and create the database and tables
0 commit comments