Skip to:
Content

BuddyPress.org

Ticket #8164: 8164.patch

File 8164.patch, 3.8 KB (added by imath, 4 years ago)
  • new file README.md

    diff --git README.md README.md
    new file mode 100644
    index 000000000..48e155722
    - +  
     1# BuddyPress
     2
     3[![Build Status](https://api.travis-ci.org/buddypress/BuddyPress.svg?branch=master)](https://travis-ci.org/github/buddypress)
     4
     5Welcome to the BuddyPress development repository! This repository is a mirror of our development [SVN repository](https://buddypress.svn.wordpress.org/). Please do not send pull requests here, instead submit patches to our [SVN repository](https://buddypress.trac.wordpress.org/). Check out the [Participate & contribute](https://codex.buddypress.org/participate-and-contribute/) page of our Codex for information about how to open bug reports, contribute patches, test changes, write documentation, or get involved in any way you can.
     6
     7* [Getting Started](#getting-started)
     8* [Credentials](#credentials)
     9
     10## Getting Started
     11
     12BuddyPress is a WordPress plugin to power you community site. It is a PHP, MySQL, and JavaScript based project, and uses Node for its JavaScript dependencies. A local development environment is available to quickly get up and running.
     13
     14You will need a basic understanding of how to use the command line on your computer. This will allow you to set up the local development environment, to start it and stop it when necessary, and to run the tests.
     15
     16You will need Node and npm installed on your computer. Node is a JavaScript runtime used for developer tooling, and npm is the package manager included with Node. If you have a package manager installed for your operating system, setup can be as straightforward as:
     17
     18* macOS: `brew install node`
     19* Windows: `choco install node`
     20* Ubuntu: `apt install nodejs npm`
     21
     22If you are not using a package manager, see the [Node.js download page](https://nodejs.org/en/download/) for installers and binaries.
     23
     24You will also need [Docker](https://www.docker.com/products/docker-desktop) installed and running on your computer. Docker is the virtualization software that powers the local development environment. Docker can be installed just like any other regular application.
     25
     26### Development Environment Commands
     27
     28Ensure [Docker](https://www.docker.com/products/docker-desktop) is running before using these commands.
     29
     30#### To start the development environment for the first time
     31
     32```
     33npm install
     34npm run wp-env start
     35```
     36
     37Your WordPress community site will be accessible at http://localhost:8888. You can see change configurations in the `.wp-env.override.json` file located at the root of the project directory.
     38
     39#### To stop the development environment
     40
     41You can stop the environment when you're not using it to preserve your computer's power and resources:
     42
     43```
     44npm run wp-env stop
     45```
     46
     47#### To start the development environment again
     48
     49Starting the environment again is a single command:
     50
     51```
     52npm run wp-env start
     53```
     54
     55## Credentials
     56
     57To login to the site, navigate to http://localhost:8888/wp-admin.
     58
     59* Username: `admin`
     60* Password: `password`
     61
     62To generate a new password (recommended):
     63
     641. Go to the Dashboard
     652. Click the Users menu on the left
     663. Click the Edit link below the admin user
     674. Scroll down and click 'Generate password'. Either use this password (recommended) or change it, then click 'Update User'. If you use the generated password be sure to save it somewhere (password manager, etc).
  • new file SECURITY.md

    diff --git SECURITY.md SECURITY.md
    new file mode 100644
    index 000000000..944cc4c64
    - +  
     1# Reporting Security Issues
     2
     3The BuddyPress team and WordPress community take security bugs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.
     4
     5To report a security issue, please visit the [WordPress HackerOne](https://hackerone.com/wordpress) program.