# Development Guide

We welcome everyone to open Pull Requests for waline! 🎉

If you want to contribute to waline, here is a guide.

# Preparation

  1. Use Git to clone the project

    git clone https://github.com/lizheming/waline.git
    
    1
  2. Installation dependencies

    cd waline
    npm i
    
    1
    2

    Note

    You need to make sure you use the npm@v7 version:

    # Ensure that your npm version is 7
    npm i -g npm@7
    
    
    1
    2
    3

# Development

  • Run npm run client:dev to start @waline/client devServer

    Tip

    Since waline is based on Client/Server architecture, when debugging a client, you need to set SERVERURL, or start server devServer below at the same time and use the default localhost:9090.

  • Run npm run server:dev to start @waline/server devServer

    Tip

    In order to run @waline/server locally, you need to configure some local environment variables to example/.env.

    We provide an exmple for you in example/.env.example.

0  Words
Comments
Powered by Waline v1.0.0-beta.2