Development Guide
Less than 1 minute...
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/walinejs/waline.gitInstallation dependencies
Warning
Install and use pnpm to install dependencies.
npm i -g pnpm@latestcd waline pnpm i
Development
Run
pnpm client:devto start@waline/clientdevServerTips
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
pnpm server:devto start@waline/serverdevServerTips
In order to run
@waline/serverlocally, you need to configure some local environment variables to.env.We provide an example for you in
.env.example.
TIPS: The comment area is only for demo. If you have any questions, please go to Github Discussion to ask.
