Skip to content

Latest commit

 

History

History
91 lines (60 loc) · 2.89 KB

GETTING_STARTED.md

File metadata and controls

91 lines (60 loc) · 2.89 KB

Getting Started

Requirements

This project includes frontend. To begin, install dependencies:

Running Project Locally

📚 - Getting the Repository

  1. Visit the Fuel Wallet repo and fork the project.
  2. Then clone your forked copy to your local machine and get to work.
git clone https://github.com/FuelLabs/fuels-wallet
cd fuels-wallet

📦 - Install Dependencies

pnpm install

📒 - Run Local Node

In this step, we are going to;

  • launch a local fuel-core node;
  • launch a local faucet API;
pnpm node:dev start

💻 - Run Web App

Start a local development frontend. After running the below command you can open http://localhost:3000 in your browser to view the frontend.

pnpm dev

📗 Project Overview

This section has a brief description of each directory. More details can be found inside each package, by clicking on the links.

🧰 Useful Scripts

To make life easier we added as many useful scripts as possible to our package.json. These are some of the most used during development:

pnpm <command name>
Script Description
dev Run development server for the WebApp packages/app.
storybook Run storybook, which is the place we use to develop our components.
test Run all units tests that are based on Jest.
test:e2e Run all E2E tests that are based on Cypress.

Other scripts can be found in package.json.

Running Tests

Please make sure you have done these steps first:

Run Tests in Development Mode

All tests are run against the local node configured in the files packages/app/.env (or packages/app/.env.test if the file exists).

To run tests use:

pnpm test