Giter VIP home page Giter VIP logo

creditcoin-app's Introduction

Step1 : Substrate Developer Environment (for windows)

If you are trying to set up a Windows computer to build Substrate, do the following:

  1. Download and install "Build Tools for Visual Studio:"

  2. Install Rust:

    • Detailed instructions are provided by the Rust Book

      • Download from: https://www.rust-lang.org/tools/install

      • Button name: DOWNLOAD RUSTUP-INIT.EXE (64-BIT)

      • Run the installation file: rustup-init.exe

        Note that it should not prompt you to install vs_buildtools since you did it in step 1

      • Choose "Default Installation."

      • To get started, you need Cargo's bin directory (%USERPROFILE%\.cargo\bin) in your PATH environment variable. Future applications will automatically have the correct environment, but you may need to restart your current shell

  3. Run these commands in Command Prompt (CMD) to set up your Wasm Build Environment:

    rustup update nightly
    rustup update stable
    rustup target add wasm32-unknown-unknown --toolchain nightly
  4. Install LLVM: https://github.com/llvm/llvm-project/releases

    • Run the installation file: LLVM-14.0.6-win64.exe or newer
  5. Install OpenSSL with vcpkg:

    mkdir C:\Tools
    cd C:\Tools
    git clone https://github.com/Microsoft/vcpkg.git
    cd vcpkg
    .\bootstrap-vcpkg.bat
    .\vcpkg.exe install openssl:x64-windows-static
  6. Add OpenSSL to your System Variables using PowerShell:

    $env:OPENSSL_DIR = 'C:\Tools\vcpkg\installed\x64-windows-static'
    $env:OPENSSL_STATIC = 'Yes'
    [System.Environment]::SetEnvironmentVariable('OPENSSL_DIR', $env:OPENSSL_DIR, [System.EnvironmentVariableTarget]::User)
    [System.Environment]::SetEnvironmentVariable('OPENSSL_STATIC', $env:OPENSSL_STATIC, [System.EnvironmentVariableTarget]::User)
  7. Finally, install cmake: https://cmake.org/download/

    • Run the installation file: cmake-3.23.2-windows-x86_64.msi or newer

You can now jump back to Get the Source to learn how to download and compile Substrate!

Step2 : Tauri Build

  1. Install npm dependencies:

    npm install
    
  2. Build

    npm run tauri build
    

image

creditcoin-app's People

Contributors

espins avatar

Stargazers

Ada avatar pablito ใƒ† avatar WoosungChoi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.