Skip to content

nydailynews/russia-connex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Russian Connections

A small flask & markdown app to publish profiles of Trump's Russian connections.

Updating the content

  1. Open the app directory, click on the story.md file
  2. Click the pencil icon to edit story.md.
  3. 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/)

Usage

  1. Clone REPONAME,
  2. Open up terminal,
  3. Create a virtualenv for your project (pip install virtualenv from anywhere in your terminal should work. More here)
    1. To get set up with virtual environments (Mac and *nix):
      1. pip install virtualenv (if you get a "requirement already satisfied" response, that's okay, continue along)
      2. pip install virtualenvwrapper (if you get a "requirement already satisfied" response, that's okay too)
      3. export WORKON_HOME=~/Envs * Note: It's worth adding this line to your ~/.bash_profile file
      4. source /usr/local/bin/virtualenvwrapper.sh * Note: It's worth adding this line to your ~/.bash_profile file too
      5. cd path/to/your/repo
      6. mkvirtualenv REPONAME
      7. Now back to the rest of the usage instructions below...
  4. pip install -r requirements.txt from your terminal
  5. cd into the app directory
  6. python app.py gets you a webserver running on port 5000.
  7. http://localhost:5000