Skip to content

Commit 635cd6d

Browse files
committed
Setting up basics for s3
1 parent 0612bd9 commit 635cd6d

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ _Local Working Files/*
3333
*.suo
3434
web.config
3535
vwd.webinfo
36-
WebEssentials-Settings.json
36+
WebEssentials-Settings.json
37+
/vendor/
38+
composer.lock

composer.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "computersciencehouse/schedulemaker",
3+
"description": "A course database lookup tool and schedule building web application for use at Rochester Institute of Technology.",
4+
"type": "project",
5+
"authors": [
6+
{
7+
"name": "Devin Matte",
8+
"email": "[email protected]"
9+
},
10+
{
11+
"name": "Ben Grawi",
12+
"email": "[email protected]"
13+
},
14+
{
15+
"name": "Ben Russell",
16+
"email": "[email protected]"
17+
}
18+
],
19+
"require": {
20+
"php": ">=7.0",
21+
"aws/aws-sdk-php": "^3.69"
22+
}
23+
}

inc/config.env.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
$HTTPROOTADDRESS = $get_env(getenv("HTTPROOTADDRESS"), 'http://schedule.csh.rit.edu/');
2222
$SERVER_TYPE = $get_env(getenv("SERVER_TYPE"), 'development');
2323

24+
////////////////////////////////////////////////////////////////////////////
25+
// S3 CONFIG
26+
$S3_SERVER = $get_env(getenv("S3_SERVER"), 's3.csh.rit.edu');
27+
$S3_KEY = $get_env(getenv("S3_KEY"), '');
28+
$S3_SECRET = $get_env(getenv("S3_SECRET"), '');
29+
2430
////////////////////////////////////////////////////////////////////////////
2531
//// APP VERSIONS
2632
$APP_CONFIG = json_decode(file_get_contents((empty($APP_ROOT)?"../":$APP_ROOT)."package.json"), true);

inc/config.php.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ $GOOGLEANALYTICS = 'google_analytics_site_id';
2222
$HTTPROOTADDRESS = 'http://path.to.your/schedule/';
2323
$SERVER_TYPE = '(development|production)'
2424

25+
////////////////////////////////////////////////////////////////////////////
26+
// S3 CONFIG
27+
$S3_SERVER = 's3.csh.rit.edu';
28+
$S3_KEY = '';
29+
$S3_SECRET = '';
30+
2531
////////////////////////////////////////////////////////////////////////////
2632
// CALCULATIONS
2733

0 commit comments

Comments
 (0)