Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.14 KB

readme.md

File metadata and controls

53 lines (38 loc) · 1.14 KB

AptosCrowd Frontend

Follow these steps to deploy the AptosCrowd frontend on your local environment:

1. Clone the Repository

First, clone the repository to your local machine and navigate to the project directory.

git clone https://github.com/0xblockbard/aptos-crowd-frontend
cd aptos-crowd-frontend

2. Install Dependencies

Install all necessary PHP and Node.js dependencies using Composer and NPM.

composer install
npm install

3. Run the Development Server

You have two options for running a Laravel development server:

Using Laravel's Built-In Server: Start the application with the built-in server:

php artisan serve

This will run your application at http://localhost:8000.

Using Laravel Valet (for macOS users): Link the project to Valet and open it in your browser:

valet link
valet open

This will create a local domain, such as http://aptos-crowd-frontend.test.

4. Add to env

VITE_APP_NETWORK="testnet"
VITE_MODULE_ADDRESS="YOUR_MODULE_ADDRESS"
IS_DEV="true"

5. Build Assets

Run the following command to build assets for development:

yarn build