Skip to content

Commit fe0277d

Browse files
committed
add email support
v2.0
1 parent 0ba03ee commit fe0277d

27 files changed

+141
-272
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ __pycache__/
66
# C extensions
77
*.so
88

9+
# .idea
10+
*.idea
11+
.idea/
12+
913
# Distribution / packaging
1014
.Python
1115
build/

.idea/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.idea/flask-simple-form.iml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/libraries/R_User_Library.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ This is a simple flask register-form application designed to run in multiple way
55
* This app use _[MongoDB](https://www.mongodb.com/)_ as database supported by _[Flask-MongoAlchemy](https://pythonhosted.org/Flask-MongoAlchemy/)_ extension
66
=> So you have to install **MongoDB** database to run this locally
77

8-
* uses _[Flask-SocketIO](https://github.com/miguelgrinberg/Flask-SocketIO)_ along with _Ajax_ for real time update
8+
* uses _[Flask-SocketIO](https://github.com/miguelgrinberg/Flask-SocketIO)_ along with _[Ajax](https://en.wikipedia.org/wiki/Ajax_(programming)_ for real time update
99

10+
* you will get an email if you have registered
1011

1112
# Overview
1213
![index](/img/index.png)
1314
![registered](/img/registered.png)
15+
![email](/img/email.png)
1416

1517
# Running this app
1618

@@ -31,6 +33,7 @@ This app is designed to run in different ways:
3133
### running the app
3234

3335
* After installing, you need to set your application _environment variable_ by running `export FLASK_APP=app.py`
36+
* run `export MAIL_PASSWORD=<your-email-password>` to set your email password _environment variable_
3437
* run the server using the script file `run.sh` by typing `./run`
3538
* Access the running app in a browser at the URL written to the console (most likely http://0.0.0.0:5000)
3639

app/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## This folder _contains the application files_

0 commit comments

Comments
 (0)