Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ubuntu/codelabs
Ubuntu codelabs offline website
https://github.com/ubuntu/codelabs
Last synced: 4 days ago
JSON representation
Ubuntu codelabs offline website
- Host: GitHub
- URL: https://github.com/ubuntu/codelabs
- Owner: ubuntu
- License: apache-2.0
- Created: 2016-07-13T20:19:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T08:43:21.000Z (10 months ago)
- Last Synced: 2024-03-19T12:01:13.818Z (8 months ago)
- Language: HTML
- Size: 39.9 MB
- Stars: 23
- Watchers: 8
- Forks: 20
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Our snap/snapcraft codelabs
This is our snap and snapcraft codelabs, fetched from google doc
content.This is the compiled containing compiled assets or codelabs.
The source branch is at https://github.com/ubuntu/codelabs-source.## Run the binary assets
Once you are on the codelabs repo, you can just run the simple webserver
from the main repo:* ./server
You can specify the port with -p
* There is snap available name "snap-codelabs" which will run on your localhost,
port 8123 by default. You can install it with: sudo snap install snap-codelabs
* If you have polymer-cli (npm install -g polymer-cli), you can just run: polymer serve.## Add/Update/Remove codelabs
You can use ./codelabs binary which will fetch needed dependencies for you to
add/update or remove codelabs.* Adding a new codelabs is as simple as: `./codelabs add `.
You can add multiple docs at the same time.
* Refreshing all codelabs is `./codelabs update`
* Remove a codelab is `./codelabs remove .
You can remove multiple docs at the same time.You can use -ga to override the default GA account.
Codelabs are located in `src/codelabs`. All metadata are then regenerated for the website
to pick up.Do not forget to add/commit and push to the `codelabs` branch each time you
generate or refresh the codelabs assets.## Tweak category theming and events
The theming is for categories are located in `categories-events.json`.
Only categories available there will be shown in the dropdown filters.Adding events enables to get events/ page, which is filtering
codelabs for which one tags match this event.
Images are relative path to images/events/.