# Development Guide
We welcome everyone to open Pull Requests for waline! 🎉
If you want to contribute to waline, here is a guide.
# Preparation
Use Git to clone the project
git clone https://github.com/lizheming/waline.git
1Installation dependencies
cd waline npm i
1
2Note
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
devServerTip
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 defaultlocalhost:9090
.Run
npm run server:dev
to start@waline/server
devServerTip
In order to run
@waline/server
locally, you need to configure some local environment variables toexample/.env
.We provide an exmple for you in
example/.env.example
.
TIPS: The comment area is only for demo. If you have any questions, please go to Github Discussion to ask.
Comments
Powered by Waline v1.0.0-beta.2
Preview: