Commit fbae49b8 authored by xiagw's avatar xiagw Committed by Shao Yu-Lung (Allen)
Browse files

add docs for sonarqube (#2149)

parent bc877244
......@@ -394,6 +394,37 @@ Always download the latest version of [Loaders for ionCube ](http://www.ioncube.
<a name="Install-SonarQube"></a>
## Install SonarQube (automatic code review tool)
SonarQube® is an automatic code review tool to detect bugs, vulnerabilities and code smells in your code. It can integrate with your existing workflow to enable continuous code inspection across your project branches and pull requests.
1 - Open the `.env` file
2 - Search for the `` argument
3 - Set it to your-domain ``
4 - `docker-compose up -d sonarqube`
5 - Open your browser: http://localhost:9000/
if you encounter a database error:
docker-compose exec --user=root postgres
source docker-entrypoint-initdb.d/
If you encounter logs error:
docker-compose run --user=root --rm sonarqube chown sonarqube:sonarqube /opt/sonarqube/logs
[**SonarQube Documentation Here**](
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment