-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #149 from w3c/docusaurus-env
Environment Variables for Tutorial Website
- Loading branch information
Showing
8 changed files
with
9,190 additions
and
72 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 |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
node_modules | ||
Tutorials/whatiswot/website/deploy | ||
.idea/ | ||
Tutorials/whatiswot/website/.env |
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,6 +1,6 @@ | ||
# What is WoT? - Tutorial series | ||
|
||
In this folder, you can find all the resources for the `What is WoT?` tutorial series. | ||
These include the videos, slidesets for the animation, video scripts and organization information. | ||
These include the videos, slide sets for the animation, video scripts, and organization information. | ||
|
||
The videos are going to be published to YouTube and the website is available at https://w3c.github.io/wot-cg/tutorials/whatiswot/ | ||
The videos are going to be published on YouTube and the website is available at <https://w3c.github.io/wot-cg/tutorials/whatiswot/> |
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 @@ | ||
# What is WoT Tutorial Website | ||
|
||
## How to build | ||
|
||
- Install dependencies `npm install` | ||
- Set your environment variable for the base URL by creating a file called `.env` with the contents of `baseurl="/"`. This environment variable is set differently by GitHub actions and Netlify. | ||
- Run `npm run start` during development to create a live version of the website | ||
- Run `npm run build` to create the static files to be used in production environments |
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
Oops, something went wrong.