Spark: Celo Composer in 1 Minute

Spark: Celo Composer in 1 Minute https://celo.academy/uploads/default/optimized/2X/f/f64a8b92b3e52ad4d4fac8c55cce003d7d21718d_2_1024x576.jpeg
none 0.0 0

Celo Composer is a powerful tool that can accelerate your development process on Celo, whether you are a beginner or an experienced developer. In this tutorial, we will guide you through the process of setting up Celo Composer in just a few simple steps.

Step 1: Installation

  1. Open your Command Line Interface (CLI).
  2. Run the following command to install Celo Composer: npx @celo/celo-composer@latest create
  • Using latest ensures that you get the most updated version of the CLI package.

Step 2: Configuration

  1. Once the installation is complete, you will be prompted to configure your Celo Composer project.
  2. Select the front-end framework you prefer for your project.
  3. Choose the web3 front-end library that suits your needs.
  4. Select the smart contract framework you want to use.
  5. Decide if you want to create a subgraph for your project.
  6. Finally, set a name to customize your mono repo.

Step 3: Open the Repository

  1. Open your newly created repository in your preferred code editor using the appropriate command.
  2. Take a moment to explore the structure of the project and familiarize yourself with the different packages.

Step 4: Install Dependencies

  1. While inside the repository directory, install the project dependencies.
  2. Use the package manager of your choice and run the appropriate command to install the dependencies.

Step 5: Explore Available Scripts

  1. Once the dependencies are installed, take a look at the various scripts that have been created for your packages.
  2. These scripts can help you perform common tasks such as building, testing, and deploying your project.

Step 6: Start the React App

  1. To start the React application, run the command specified in the scripts.
  2. This will launch your Celo Composer project, and you can start building your application right away!

That’s it! You have successfully set up Celo Composer using Celo Spark. We are excited to see what you will build with this powerful tool. Happy coding!

9 Likes

Nice introduction to the composer🚀

2 Likes

That was short and impressive @celaahl

Staright to the point and gets the job done, nice tutorial @celaahl