-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GitHub auth, upgrade GitHub API module, allow test suite to execu…
…te. (#319) This is a large change meant to restore the repo to a functioning state. The GitHub library was reworked to use the lastest version of the GitHub API module and changes were made to support authentication as a GitHub application. Instructions for creating a private instance hosted on the free tier of Heroku have been added and all references to the public instance have been removed. Heroku hosting is intended to provide users with a more reliable alternative to the public instance, which we will be dropping support for.
- Loading branch information
1 parent
6129707
commit 0b7ef34
Showing
20 changed files
with
4,322 additions
and
4,428 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.idea/ | ||
.vscode/ | ||
*.iml | ||
|
||
config.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "Staticman", | ||
"description": "A Node.js application that enables dynamic content as part of a fully static website.", | ||
"repository": "https://github.com/eduardoboucas/staticman/", | ||
"logo": "https://staticman.net/assets/images/staticman-avatar.png", | ||
"keywords": ["node", "express", "static", "staticman", "github-pages"] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
const StaticmanAPI = require('./server') | ||
(async () => { | ||
try { | ||
const StaticmanAPI = require('./server') | ||
const api = await new StaticmanAPI() | ||
|
||
const api = new StaticmanAPI() | ||
|
||
api.start(port => { | ||
console.log('Staticman API running on port', port) | ||
}) | ||
api.start(port => { | ||
console.log('Staticman API running on port', port) | ||
}) | ||
} catch (e) { | ||
console.error(e) | ||
} | ||
})() |
Oops, something went wrong.