docs/DeveloperDocs/Build-and-Create-Pull-Request.md
WeKan currently uses Meteor 3.
Using newest Ubuntu amd64:
sudo apt -y install git
git config --global user.name "YOUR-FIRSTNAME YOUR-LASTNAME"
git config --global user.email [email protected]
git config --global push.default simple
nano .ssh/config
There add your User (GitHub username) and IdentityFile (Your ssh private key. Not public key that has .pub). For indentation, use one tab.
Host *
IdentitiesOnly=yes
Host github.com
Hostname github.com
User YOUR-GITHUB-USERNAME
IdentityFile ~/.ssh/id_github
Save and Exit with Ctrl-o Enter Ctrl-x Enter
If you do not have ssh key, create it:
ssh-keygen -t ed25519 -f ~/.ssh/id_github
And press Enter about 3 times, until you have private key at ~/.ssh/id_github and public key at ~/.ssh/id_github.pub
Add public key .pub to your GitHub SSH Keys at https://github.com/settings/keys
mkdir repos
cd repos
git clone [email protected]:YOUR-GITHUB-USERNAME/wekan.git
cd wekan
npm audit fix --forceBecause it downgrades @meteorjs/rspack and breaks builds.
./rebuild-wekan.sh
1
./rebuild-wekan.sh
2
./rebuild-wekan.sh
3
That does:
meteor, so it can detect if some file changes and try to rebuild automatically.And then register and login with webbrowser at http://localhost:4000
Use rebuild-wekan.sh to run all tests.
When your changes work, commit them:
git add --all
git commit -m "Describe your change here."
git push
And then at your GitHub for https://github.com/YOUR-GITHUB-USERNAME/wekan click Create pull request.