All Projects → sn99 → Wasm Template Rust

sn99 / Wasm Template Rust

Licence: other
A wasm template for Rust to publish to gh-pages without npm-deploy

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Wasm Template Rust

jekyll-deploy-action
🪂 A Github Action to deploy the Jekyll site conveniently for GitHub Pages.
Stars: ✭ 162 (+113.16%)
Mutual labels:  github-page, gh-pages, deploy
Varadbhogayata.github.io
My Portfolio - Personal Website
Stars: ✭ 95 (+25%)
Mutual labels:  github-page, template
Github Pages Gallery
A zero dollar solution to host your photo/video gallery online using Github pages and GitHub Actions. No coding necessary.
Stars: ✭ 77 (+1.32%)
Mutual labels:  github-page, template
Pat
PAT OJ exercises in C language 浙江大学PAT纯C语言题解,欢迎改进建议
Stars: ✭ 245 (+222.37%)
Mutual labels:  gh-pages, github-page
Deprecated rust wasm template
Deprecated in favor of rustwasm/wasm-pack-template or rustwasm/rust-webpack-template
Stars: ✭ 108 (+42.11%)
Mutual labels:  wasm, template
Kickster
Worry-free deploying to GitHub Pages using Jekyll
Stars: ✭ 151 (+98.68%)
Mutual labels:  github-page, template
Github Pages Deploy Action
Automatically deploy your project to GitHub Pages using GitHub Actions. This action can be configured to push your production-ready code into any branch you'd like.
Stars: ✭ 2,507 (+3198.68%)
Mutual labels:  gh-pages, deploy
hugo-deploy
Easily deploy Hugo sites to Github Pages
Stars: ✭ 11 (-85.53%)
Mutual labels:  github-page, deploy
Ghost On Github Pages
Ghost on Github Pages. Build and deploy Ghost for free in a few minutes.
Stars: ✭ 421 (+453.95%)
Mutual labels:  gh-pages, github-page
Angular Cli Ghpages
🚀 Deploy your 🅰️Angular app to GitHub pages directly from the Angular CLI! Available on NPM.
Stars: ✭ 713 (+838.16%)
Mutual labels:  gh-pages, github-page
Cv Template
An easy way to create HTML and PDF versions of your resume, and automatically host them on GitHub Pages.
Stars: ✭ 41 (-46.05%)
Mutual labels:  gh-pages, github-page
Modern Resume Theme
A modern static resume template and theme. Powered by Jekyll and GitHub pages.
Stars: ✭ 868 (+1042.11%)
Mutual labels:  github-page, template
Cv
A resume template written in Markdown,Yaml JSON auto generates github-pages website & PDF by Jekyll. 在线简历生成模板(超高兼容可导PDF)
Stars: ✭ 61 (-19.74%)
Mutual labels:  gh-pages, github-page
Ng Deploy Azure
Deploy Angular apps to Azure using the Angular CLI
Stars: ✭ 71 (-6.58%)
Mutual labels:  deploy
Sing App
💥Free and open-source admin dashboard template built with Bootstrap 4.5 💥
Stars: ✭ 1,187 (+1461.84%)
Mutual labels:  template
Simple Mvp Retrofit Example
A simple example of a project using MVP architecture and Retrofit 2.0 library for Android for beginners.
Stars: ✭ 70 (-7.89%)
Mutual labels:  template
Universal Zopfli Js
JavaScript binding to Zopfli with WebAssembly.
Stars: ✭ 70 (-7.89%)
Mutual labels:  wasm
Deployer
A deployment tool written in PHP with support for popular frameworks out of the box
Stars: ✭ 8,928 (+11647.37%)
Mutual labels:  deploy
Dotnet Template Onion
Onion Architecture with .NET 5/.NET Core and CQRS/Event Sourcing following a DDD approach
Stars: ✭ 70 (-7.89%)
Mutual labels:  template
Create Discord Bot
Create Discord bots using a simple widget-based framework.
Stars: ✭ 70 (-7.89%)
Mutual labels:  template

Wasm template for Rust hosting without npm-deploy on github pages using Travis script

Build Status

It automatically hosts you wasm projects on gh-pages using a travis script on the latest commit.

Requirements

Steps :

For building :

  "dependencies": {
    "wasm-template-rust": "file:../pkg"
  },

Into :

  "dependencies": {
    "YOUR-PROJECT-NAME-SAME-AS-IN-CARGO.toml": "file:../pkg"
  },
  • Run wasm-pack build inside your project dictionary
  • Run npm install inside www folder
  • Next, modify www/index.js to import your PROJECT instead of the wasm-template-rust package
  • Again run npm install inside www folder (just to be sure)
  • Finally run npm run start inside www and visit http://localhost:8080 to see the results

For deployment :

The template comes with a preconfigured .travis.yml but you will still need to :

  • Create a new branch by the name gh-pages
  • Github pages should be enabled by default but if not go to Settings -> GitHub Pages and enable it on your gh-pages branch. You will also find the link to your to-be hosted page there
  • Make a personal access token (only the token no need for command line here)
  • Next we will need to put this token into our travis settings, go to more options -> settings -> Environment Variables and enter the token value (the generated token code) and name as GITHUB_TOKEN, it should look like : token

Additional :

License

Licensed under either of these:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].