forked from CodeYourFuture/curriculum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix install instructions (CodeYourFuture#831)
* Add note about where to look for site setup instructions * Add Go to homebrew install Go is now required as we're using Hugo modules, likely as they use Go modules underneath. * Add .env.example files These are referenced in the READMEs, and it is required to use the Github token, so is necessary for set up. * Remove MigraCode as they moved to own repo Co-authored-by: Sally McGrath <[email protected]> * Improve example env --------- Co-authored-by: Sally McGrath <[email protected]>
- Loading branch information
1 parent
d09c766
commit 244ce3d
Showing
11 changed files
with
60 additions
and
6 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
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,10 @@ | ||
# Allow accessing a GitHub bearer token to avoid rate limits when doing HTTP fetches to the GitHub API. | ||
# This can be generated at https://github.com/settings/tokens?type=beta and needs read-only access to all public CYF GitHub repos. | ||
HUGO_CURRICULUM_GITHUB_BEARER_TOKEN="" | ||
|
||
# Client ID and secret for the GitHub OAuth app used to authenticate users. | ||
GITHUB_CLIENT_ID="clientid" | ||
GITHUB_CLIENT_SECRET="clientsecret" | ||
|
||
# The domain of the site, used for generating redirect URLs. | ||
DOMAIN="http://localhost:1313" |
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,10 @@ | ||
# Allow accessing a GitHub bearer token to avoid rate limits when doing HTTP fetches to the GitHub API. | ||
# This can be generated at https://github.com/settings/tokens?type=beta and needs read-only access to all public CYF GitHub repos. | ||
HUGO_CURRICULUM_GITHUB_BEARER_TOKEN="" | ||
|
||
# Client ID and secret for the GitHub OAuth app used to authenticate users. | ||
GITHUB_CLIENT_ID="clientid" | ||
GITHUB_CLIENT_SECRET="clientsecret" | ||
|
||
# The domain of the site, used for generating redirect URLs. | ||
DOMAIN="http://localhost:1313" |
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,10 @@ | ||
# Allow accessing a GitHub bearer token to avoid rate limits when doing HTTP fetches to the GitHub API. | ||
# This can be generated at https://github.com/settings/tokens?type=beta and needs read-only access to all public CYF GitHub repos. | ||
HUGO_CURRICULUM_GITHUB_BEARER_TOKEN="" | ||
|
||
# Client ID and secret for the GitHub OAuth app used to authenticate users. | ||
GITHUB_CLIENT_ID="clientid" | ||
GITHUB_CLIENT_SECRET="clientsecret" | ||
|
||
# The domain of the site, used for generating redirect URLs. | ||
DOMAIN="http://localhost:1313" |
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,10 @@ | ||
# Allow accessing a GitHub bearer token to avoid rate limits when doing HTTP fetches to the GitHub API. | ||
# This can be generated at https://github.com/settings/tokens?type=beta and needs read-only access to all public CYF GitHub repos. | ||
HUGO_CURRICULUM_GITHUB_BEARER_TOKEN="" | ||
|
||
# Client ID and secret for the GitHub OAuth app used to authenticate users. | ||
GITHUB_CLIENT_ID="clientid" | ||
GITHUB_CLIENT_SECRET="clientsecret" | ||
|
||
# The domain of the site, used for generating redirect URLs. | ||
DOMAIN="http://localhost:1313" |
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
### To install | ||
|
||
```bash | ||
brew install hugo | ||
brew install go hugo | ||
``` | ||
|
||
### To run locally | ||
|
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,10 @@ | ||
# Allow accessing a GitHub bearer token to avoid rate limits when doing HTTP fetches to the GitHub API. | ||
# This can be generated at https://github.com/settings/tokens?type=beta and needs read-only access to all public CYF GitHub repos. | ||
HUGO_CURRICULUM_GITHUB_BEARER_TOKEN="" | ||
|
||
# Client ID and secret for the GitHub OAuth app used to authenticate users. | ||
GITHUB_CLIENT_ID="clientid" | ||
GITHUB_CLIENT_SECRET="clientsecret" | ||
|
||
# The domain of the site, used for generating redirect URLs. | ||
DOMAIN="http://localhost:1313" |
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
### To install | ||
|
||
```bash | ||
brew install hugo | ||
brew install go hugo | ||
``` | ||
|
||
### To run locally | ||
|