A small flask & markdown app to publish profiles of Trump's Russian connections.
- Open the app directory, click on the story.md file
- Click the pencil icon to edit story.md.
- Here are some basics on editing the document:
- To make something bold,
wrap the text you want to be bold *in asterisks*
. - To make something italic,
wrap the text you want to be italic _in underscores_
. - To make something a link,
wrap the linked text in square brackets, and then put the url in parens right after, [like so](http://www.nydailynews.com/)
- Clone REPONAME,
- Open up terminal,
- Create a virtualenv for your project (
pip install virtualenv
from anywhere in your terminal should work. More here)- To get set up with virtual environments (Mac and *nix):
pip install virtualenv
(if you get a "requirement already satisfied" response, that's okay, continue along)pip install virtualenvwrapper
(if you get a "requirement already satisfied" response, that's okay too)export WORKON_HOME=~/Envs
* Note: It's worth adding this line to your~/.bash_profile
filesource /usr/local/bin/virtualenvwrapper.sh
* Note: It's worth adding this line to your~/.bash_profile
file toocd path/to/your/repo
mkvirtualenv REPONAME
- Now back to the rest of the usage instructions below...
- To get set up with virtual environments (Mac and *nix):
pip install -r requirements.txt
from your terminalcd
into the app directorypython app.py
gets you a webserver running on port 5000.- http://localhost:5000