Welcome to our CREATIVE Monorepo powered by turborepo! This project is designed to help you get started with developing decentralized applications (dApps) on the Ethereum blockchain using the Turbo Repo framework. Turbo Repo provides a streamlined and efficient development environment for building smart contracts and web interfaces.
Before getting started, make sure you have the following prerequisites installed on your machine:
- Node.js (v14 or higher)
- Yarn (recommended) or npm
- Git
To start your Turbo Repo project, follow these steps:
-
Clone the repository:
git clone <repository-url>
Alternatively, you can create a new repository based on the Turbo Repo template.
-
Install dependencies:
cd Creative yarn install
-
Configure the environment variables:
- Copy the
.env.example
file and rename it to.env
. - Fill in the required environment variables based on your project's configuration.
- Copy the
-
Compile smart contracts:
yarn compile
-
Deploy smart contracts:
yarn deploy
This will deploy your smart contracts to the desired network specified in the
.env
file. -
Start the development server:
yarn turbo run dev --filter creative-tv
This will start the development server and provide you with a local development environment for your dApp.
-
Access your dApp: Open your web browser and visit
http://localhost:3000
to access your dApp running locally.
The Turbo Repo project has the following structure:
apps/contracts
: This directory contains your smart contracts written in Solidity.apps/creative-tv
: This directory contains your web application's source code, including the front-end components and configurations.packages/ui
: This directory contains the shared components for your UI accross all apps.
In the project directory, you can run the following scripts:
yarn start
: Starts the development server for your web application.yarn compile
: Compiles the smart contracts using Hardhat.yarn deploy
: Deploys the smart contracts to the specified network.yarn test
: Runs the test suite for your smart contracts.
To learn more about Turbo Repo and how to use it effectively, refer to the Turbo Repo documentation.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please submit an issue or create a pull request.
This project is licensed under the MIT License.
That's it! You're now ready to start developing with Creative Organization DAO using Turbo Repo. Happy coding!