"""Provide method for creating the smif app

For example, build the front end::
>>> cd smif/app/
>>> npm run build

Or to rebuild js/css on change::
>>> npm run watch

Then run the server app in debug mode with environment variables
>>> FLASK_DEBUG=1 smif -v app -d src/smif/sample_project/

Or if backend debug mode is not needed, just use the smif CLI::
>>> smif app -d ../sample_project

API commands can be operated without the front end

GET commands can be performed by going to the requested url::
>>> firefox http://localhost:5000/api/v1/model_runs

POST/PUT commands on configurations can be performed by using the curl utilities under linux::
>>> curl -d '{
...     "name": "scenario_set",
...     "description": "my description",
...     "facets": []
... }' -H "Content-Type: application/json" -X POST http://localhost:5000/api/v1/scenario_sets/

Actions are triggered by sending an empty POST::
>>> curl -d '{}' http://localhost:5000/api/v1/model_runs/20170918_energy_water/start
"""

# import classes for access like ::
#         from smif.http_api import create_app
from smif.http_api.app import create_app

# Define what should be imported as * ::
#         from smif.http_api import *
__all__ = ['create_app']

@@ -73,19 +73,20 @@
 t end::%0A
-%3E%3E%3E
+%0A   
  cd smif
@@ -91,19 +91,19 @@
 if/app/%0A
-%3E%3E%3E
+   
  npm run
@@ -143,19 +143,20 @@
 hange::%0A
-%3E%3E%3E
+%0A   
  npm run
@@ -227,20 +227,23 @@
 ariables
-%0A%3E%3E%3E
+::%0A%0A   
  FLASK_D
@@ -354,19 +354,20 @@
 f CLI::%0A
-%3E%3E%3E
+%0A   
  smif ap
@@ -504,19 +504,20 @@
 d url::%0A
-%3E%3E%3E
+%0A   
  firefox
@@ -653,19 +653,20 @@
 linux::%0A
-%3E%3E%3E
+%0A   
  curl -d
@@ -669,24 +669,24 @@
 l -d '%7B%0A
-...
      
+   
 %22name%22: 
@@ -701,19 +701,19 @@
 o_set%22,%0A
-...
+   
      %22de
@@ -742,19 +742,19 @@
 ption%22,%0A
-...
+   
      %22fa
@@ -767,11 +767,11 @@
  %5B%5D%0A
-...
+   
  %7D' 
@@ -912,11 +912,12 @@
 T::%0A
-%3E%3E%3E
+%0A   
  cur
@@ -994,16 +994,17 @@
 r/start%0A
+%0A
 %22%22%22%0A%0A# i

Fix http_api docstring rendering