rust-lang-ve / rust-lang-ve.github.io

:octocat: rust-lang-ve's GitHub Page made with Yew because we πŸ’– Rust!

Home Page:https://rust-lang-ve.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rust-lang-ve.github.io

:octocat: rust-lang-ve's GitHub Page made with Yew because we πŸ’– Rust!

🚴 Development

Requirements

  • GitHub Personal Access Token for GPM
  • NodeJS (Yarn)
  • Cargo

Setting up .npmrc to fetch GPM

This project makes use of a package served by GPM (GitHub Package Manager). In order to fetch this package you must create a .npmrc file in your home directory (touch ~/.npmrc), then go to https://github.com/settings/tokens and clic on Generate new token, create your token with full access to avoid issues fetching the package, copy your token to your clipboard and finally append the following to the .npmrc file you created before.

//npm.pkg.github.com/:_authToken=<YOUR PERSONAL ACCESS TOKEN>

Finally run yarn in the project directory to install packages.

IMPORTANT Do not share your Personal Access Token with anyone! This token grant access to your GitHub profile!

πŸ› οΈ Build

When building for the first time, ensure to install dependencies first.

yarn install
yarn run build

πŸ”¬ Serve locally

yarn run start

πŸ”‹ Batteries Included

  • wasm-bindgen for communicating between WebAssembly and JavaScript.
  • wee_alloc, an allocator optimized for small code size.

About

:octocat: rust-lang-ve's GitHub Page made with Yew because we πŸ’– Rust!

https://rust-lang-ve.github.io/

License:Apache License 2.0


Languages

Language:Rust 97.2%Language:JavaScript 2.2%Language:HTML 0.6%