Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws #82

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

aws #82

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Musician = require('./models/musician');
const musicianRoutes = require('./routes/musician');

const app = express();
const port = process.env.PORT || 3001;
const port = process.env.PORT || 8080;

// include routes
app.use('/musician', musicianRoutes);
Expand All @@ -28,4 +28,4 @@ const server = app.listen(port, () => {
console.log("Server started on port " + port);
});

module.exports = server;
module.exports = server;
11 changes: 11 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 0.2

phases:
install:
commands:
# Install dependencies needed for running tests
- npm install
- npm start

# Upgrade AWS CLI to the latest version
- pip install --upgrade awscli