Removed trailing whitespaces from README.org

This commit is contained in:
Jorge 2016-10-08 00:01:17 +02:00
parent 02066bc93e
commit 86ee0fbb63

View File

@ -1,13 +1,13 @@
* PyConES16: Flask-note (Clone of Evernote with Flask and Markdown) * PyConES16: Flask-note (Clone of Evernote with Flask and Markdown)
** [[http://flask-note.programadorwebvalencia.com/][DEMO]] ** [[http://flask-note.programadorwebvalencia.com/][DEMO]]
#+CAPTION: Flask-note #+CAPTION: Flask-note
#+NAME: Flask-note #+NAME: Flask-note
[[file:sketching/target.jpg]] [[file:sketching/target.jpg]]
** Install ** Install
*** Flask *** Flask
#+BEGIN_SRC bash #+BEGIN_SRC bash
@ -19,29 +19,29 @@ source ENV/bin/activate
pip install Flask pip install Flask
pip install markdown pip install markdown
#+END_SRC #+END_SRC
*** SQLite *** SQLite
**** OS X **** OS X
#+BEGIN_SRC bash #+BEGIN_SRC bash
brew install sqlite brew install sqlite
#+END_SRC #+END_SRC
**** Ubuntu **** Ubuntu
#+BEGIN_SRC bash #+BEGIN_SRC bash
sudo apt-get update sudo apt-get update
sudo apt-get install sqlite3 libsqlite3-dev sudo apt-get install sqlite3 libsqlite3-dev
#+END_SRC #+END_SRC
*** Flask_sqlalchemy *** Flask_sqlalchemy
#+BEGIN_SRC bash #+BEGIN_SRC bash
pip install flask_sqlalchemy pip install flask_sqlalchemy
#+END_SRC #+END_SRC
** Create Flask ** Create Flask
Create *app.py* Create *app.py*
#+BEGIN_SRC python #+BEGIN_SRC python
from flask import Flask from flask import Flask
@ -75,9 +75,9 @@ http://127.0.0.1:5000/
** Create Database ** Create Database
Create *database.py* Create *database.py*
#+BEGIN_SRC python #+BEGIN_SRC python
from flask import Flask from flask import Flask
from flask_sqlalchemy import SQLAlchemy from flask_sqlalchemy import SQLAlchemy
@ -122,13 +122,13 @@ db.create_all()
exit() exit()
sqlite3 database.sqlite sqlite3 database.sqlite
#+END_SRC #+END_SRC
#+BEGIN_SRC sql #+BEGIN_SRC sql
INSERT INTO user VALUES (NULL, 'py@con.es', '2016'); INSERT INTO user VALUES (NULL, 'py@con.es', '2016');
.exit .exit
#+END_SRC #+END_SRC
** Future resource ** Future resource
*master.html* *master.html*
#+BEGIN_SRC html #+BEGIN_SRC html