Skip to content

Instantly share code, notes, and snippets.

@atiqsu
Last active April 12, 2023 05:09
Show Gist options
  • Save atiqsu/aa82f61d235ac6a49e1c9e87e0a99fba to your computer and use it in GitHub Desktop.
Save atiqsu/aa82f61d235ac6a49e1c9e87e0a99fba to your computer and use it in GitHub Desktop.
Contributing to wordpress core
1. Install docker and run it. Make sure icon shows in top-right corner of mac
2. Make sure you have npm installed - npm -v
3. Make sure you have nvm installed - nvm -v
4. Make sure you have Node installed -
5. Make sure you have node version 14.x installed if not
5.1. nvm install 14 #do not give specific version i.e. 14.17.3 this may raise npm error
6. Go to https://github.com/WordPress/wordpress-develop
6.1. fork it
6.2. git clone it anywhere you like
6.3. open terminal and cd to the cloned directory
6.4. run_> composer update
6.4. run_> npm install
6.4.1 in case of error
6.4.2 run_> nvm node 14
6.4.3 run_> nvm use 14
6.4.4 run_> node -v //should output 14.x.x ...
6.4.5 run_> npm install. // now it should install fine
6.5. run_> npm run build:dev
6.6. run_> npm run env:start
6.7. run_> npm run env:install
7. If everything goes well visit http://localhost:8889 and chill...
8. Now goto https://core.trac.wordpress.org/tickets/good-first-bugs and find your favorite BUG!!!
:D :D :d .....
* while resolving tickets make a branch with ticketnumner i.e 4376_fixing_bal_bla
Hellow-World Plugin ::
Folder:: hellow_world
@csesumonpro
Copy link

csesumonpro commented Feb 8, 2023

wow

@hasanmisbah
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment