Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sahat/hackathon-starter
Browse files Browse the repository at this point in the history
* 'master' of github.com:sahat/hackathon-starter:
  hack to exclude internal links from the list
  Added Windows Azure deployment instructions
  • Loading branch information
sahat committed Feb 26, 2014
2 parents 1d1442c + 7ed8525 commit 39e2624
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,20 @@ Add this to `package.json`, after *name* and *version*. This is necessary becaus
<img src="http://upload.wikimedia.org/wikipedia/en/f/ff/Windows_Azure_logo.png" width="200">
TODO: Will be added soon.
- Login to [Windows Azure Management Portal](http://manage.windowsazure.com/)
- Click the **+ NEW** button on the bottom left of the portal
- Click **WEB SITE**, then **QUICK CREATE**
- Enter a name for **URL** and select the datacenter **REGION** for your web site
- Click on **CREATE WEB SITE** button
- Once the web site status changes to *Running*, click on the name of the web site to access the Dashboard
- At the bottom right of the Quickstart page, select **Set up a deployment from source control**
- Select **Local Git repository** from the list, and then click the arrow
- To enable Git publishing, Azure will ask you to create a user name and password
- Once the Git repository is ready, you will be presented with a **GIT URL**
- Inside your *Hackathon Starter* directory, run `git remote add azure [Azure Git URL]`
- To push your changes simply run `git push azure master`
- **Note:** *You will be prompted for the password you created earlier*
- On **Deployments** tab of your Windows Azure Web Site, you will see the deployment history
TODO
----
Expand Down
2 changes: 1 addition & 1 deletion controllers/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ exports.getScraping = function(req, res, next) {
if (err) return next(err);
var $ = cheerio.load(body);
var links = [];
$('.title a').each(function() {
$(".title a[href^='http'], a[href^='https']").each(function() {
links.push($(this));
});
res.render('api/scraping', {
Expand Down

0 comments on commit 39e2624

Please sign in to comment.