Skip to content

Commit

Permalink
Prep for Heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
edodge committed Feb 15, 2017
1 parent d0df082 commit 4ecd22c
Show file tree
Hide file tree
Showing 43 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
vendor/
.env
.DS_Store
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 Harvard-MIT Data Center

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 3 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
web: vendor/bin/heroku-php-nginx -C nginx_app.conf www/
#web: vendor/bin/heroku-php-nginx -C nginx_app.conf -F fpm.conf www/
#web: vendor/bin/heroku-php-apache2 -C apache2_app.conf -F fpm.conf www/
Empty file added apache2_app.conf
Empty file.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Empty file added fpm.conf
Empty file.
3 changes: 3 additions & 0 deletions nginx_app.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
location / {
index index.php index.html index.htm;
}
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
1 change: 1 addition & 0 deletions www/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php header( 'Location: index.html' ) ; ?>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4ecd22c

Please sign in to comment.