Skip to content

Commit

Permalink
Skeleton of a simple flask app for serving the alternative list based…
Browse files Browse the repository at this point in the history
… on provided json files
  • Loading branch information
rossjones committed Feb 13, 2016
1 parent 6b0d486 commit aa9ca63
Show file tree
Hide file tree
Showing 16 changed files with 72 additions and 1,718 deletions.
60 changes: 60 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# This file is part of alternative-internet.
# https://github.com/redecentralize/alternative-internet

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2016, Ross Jones <[email protected]>

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
bin/
build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml

# Translations
*.mo

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# Rope
.ropeproject

# Django stuff:
*.log
*.pot

# Sphinx documentation
docs/_build/
60 changes: 0 additions & 60 deletions CONTRIBUTING.md

This file was deleted.

196 changes: 0 additions & 196 deletions README.md

This file was deleted.

196 changes: 0 additions & 196 deletions README_AGE.md

This file was deleted.

196 changes: 0 additions & 196 deletions README_COMMITS.md

This file was deleted.

196 changes: 0 additions & 196 deletions README_CONTRIB.md

This file was deleted.

196 changes: 0 additions & 196 deletions README_LANG.md

This file was deleted.

196 changes: 0 additions & 196 deletions README_LOC.md

This file was deleted.

39 changes: 0 additions & 39 deletions RESOURCES.md

This file was deleted.

4 changes: 4 additions & 0 deletions alternative_internet/alternative_internet/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from flask import Flask
app = Flask(__name__)

import alternative_internet.views
5 changes: 5 additions & 0 deletions alternative_internet/alternative_internet/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from alternative_internet import app

@app.route('/')
def index():
return 'Hello World!'
2 changes: 2 additions & 0 deletions alternative_internet/runserver.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from alternative_internet import app
app.run(debug=True)
Empty file added deploy/nginx.conf
Empty file.
Empty file added deploy/uwsgi.ini
Empty file.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Flask==0.10.1
Loading

0 comments on commit aa9ca63

Please sign in to comment.