Skip to content
76 changes: 5 additions & 71 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,77 +1,11 @@
Assignment 1 - Hello World: Basic Deployment w/ Git, GitHub, Heroku
===

This assignment is a "warm-up" exercise.
You will simply deploy the starting Web site that you will use this term to the [Heroku Web platform](http://www.heroku.com/).

Refer to [Getting started with node.js on Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction).

(Thanks to past instructors of the course, here is a short [getting started with Heroku movie](http://web.cs.wpi.edu/~gpollice/Movies/HerokuGettingStarted/) that may also help.)

Treat this assignment as a chance to get up to speed on Git, GitHub, and Heroku.
If you already know these, great.
However, if you're new to them, spend several hours practicing, experimenting, and reading documentation.
In other words, don't just get your website up and done. You will need skill with these tools throughout the rest of the course.

Assignment details
---

Do the following to complete this assignment:

1. Fork the starting project code. This repo contains:
* the server code, `server.js`
* the `Procfile` that you need for Heroku deployment
* A starting `index.html` file that you will edit as described below
2. Edit `index.html` to show the following information about you:
* your name and class at WPI (e.g. class of 2020) Note: Do not put any contact or personal information that you do not potentially want other people outside of this class to see.
* your major(s) and minor(s)
* previous computer science courses that you have taken at WPI
* your experience with the following technologies and methods (none, some, a lot)
* HTML
* CSS
* Java
* JavaScript
* Ruby
* Python
* unit testing
3. Test your project to make sure that when someone goes to your main page, it displays correctly.
4. Deploy your project to Heroku.
5. Ensure that your project has the proper naming scheme (guide follows) so we can find it.
6. Modify the Readme to the specification below.
7. Create and submit a Pull Request to the original repo.

Naming and URL Scheme
---

You must use a consistent naming scheme for all projects in this course.
If we can't find it, we can't grade it.

By default Heroku assigns your application a random name.
To change it, follow [this guide](https://devcenter.heroku.com/articles/renaming-apps).

The name scheme should be `a1-yourGitHubUsername`.
The `a1` will need to be updated to `a2`, `a3`, and so on in future projects.

Resources
---

If you need a JavaScript/HTML/CSS refresher, see [Technology Fundamentals by Scott Murray](http://chimera.labs.oreilly.com/books/1230000000345/ch03.html#_html) and/or [JavaScript Codeacademy](https://www.codecademy.com/en/tracks/javascript).

If you need a Git/GitHub refreseher, see [GitHub Bootcamp](https://help.github.com/categories/bootcamp/), the [GitHub Guides](https://guides.github.com/) (especially the ones on Hello World, and Understanding the GitHub Flow, and Forking Projects), and [CodeSchool's Try Git Course](https://www.codeschool.com/courses/try-git).

Sample Readme (delete the above when you're ready to submit, and modify the below so with your links and descriptions)
---

Lane Harrison
http://codementum-a1.herokuapp.com
Peter Nolan
https://a1-peternolan.herokuapp.com/

This project shows ...

## Technical Achievements
- **Proved P=NP**: Using a combination of...
- **Solved AI**: ...

### Design Achievements
- **Re-vamped Apple's Design Philosophy**: Shown in `style.css`, the code...
Learned how to connect a CSS stylesheet through manipulation of the server.js file.


### Design Achievements
Changed the color of the background in order to give the user a more soothing experience.
156 changes: 130 additions & 26 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,131 @@
<html lang="en">
<head>
<title>CS4241 Assignment 1</title>
<meta charset="utf-8">
</head>
<body>
<h1>Information about [Your name here]</h1>
<p>
[Self introduction]
</p>
<p>
[Major and other information]
</p>
<p>
[Other things]
</p>

<h2>Experience</h2>
<p>
Working experience
</p>
<ul>
<li>IBM/Rational</li>
<li>WPI</li>
</ul>
</body>
<html lang="en">
<head>
<title>CS4241 Assignment 1</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1>Information about Peter Nolan</h1>
<h2>
Self Introduction
</h2>
<ul>
<p>
Name: Peter Nolan
</p>
<P>
Class: 2019
</P>
</ul>

<h3>
Major and Other Information
</h3>
<ul>
<li>
Major: Computer Science
</li>
<li>
Minor: Interactive Media and Game Development
</li>

</ul>

<h3>
Other things
</h3>
<ul>
<li>
Member of WPI Game Development Club
</li>
</ul>

<h3>
Experience
</h3>
<h4>
Working Experience
</h4>
<ul>
<li>WPI:
<p>Have achieved high grades in numerous classes that have furthered my understanding of Front-End and Back-End Development.</p></li>

<li>
Changing The Present:
<p>Worked as an Intern using HTML and CSS for Front-End Web Development on Shopify.</p>
</li>
</ul>

<h4>
Previous CS Classes
</h4>

<ul>
<li>
CS 4518: Mobile and Ubiquitous Computing
</li>
<li>
CS 4401: Software Security Engineering
</li>
<li>
CS 4341: Introduction to Artificial Intelligence
</li>
<li>
CS 3733: Software Engineering
</li>
<li>
CS 3431: Database Systems I
</li>
<li>
CS 3043: Social Implications of Information Processing
</li>
<li>
CS 3041: Human Computer Interaction
</li>
<li>
CS 2303: Systems Programming Concepts
</li>
<li>
CS 2223: Algorithms
</li>
<li>
CS 2102: Object Oriented Design Concepts
</li>
<li>
CS 2022: Discrete Mathematics
</li>
<li>
CS 2011: Introduction to Machine and Assembly Languages
</li>


</ul>

<h4>
Language Experience
</h4>
<ul>
<li>
HTML: Some
</li>
<li>
CSS: Some
</li>
<li>
Java: A Lot
</li>
<li>
Javascript: None
</li>
<li>
Ruby: Some
</li>
<li>
Python: Some
</li>
<li>
Unit Testing: Some
</li>
</ul>
</body>
</html>
3 changes: 3 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ var server = http.createServer (function (req, res) {
case '/index.html':
sendFile(res, 'index.html')
break
case '/style.css':
sendFile(res, 'style.css')
break
default:
res.end('404 not found')
}
Expand Down
3 changes: 3 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
html {
background: #94cdbc;
}