Follow these steps to deploy the AptosCrowd frontend on your local environment:
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
Install all necessary PHP and Node.js dependencies using Composer and NPM.
composer install
npm install
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.
VITE_APP_NETWORK="testnet"
VITE_MODULE_ADDRESS="YOUR_MODULE_ADDRESS"
IS_DEV="true"
Run the following command to build assets for development:
yarn build