Welcome to the local installation instructions for P0 on your local computer. Follow this guide to get set up with your own version of P0.
To install P0 locally, you will need the following:
A Linux or Unix box
Recommended: Ubuntu 22.04 (LTS), CentOS 7 or Higher
Spare memory of 4+ GB
Docker, Docker-Compose 2.23+ and JRE 17+
Script will automatically install above softwares, if not already detected for the current user
The root file-path of your code - which needs to be scanned, needs to be present on machine on which installation is done, which is local .git repo or clone of a git repository.
The machine should be able to access the internet, we access below domains:
You can directly execute the script from our S3 URL:
Optionally, You can download the script using wget, review and execute:
The script will detect if docker and JRE 17 or higher is present. Otherwise it will download and install them.
Once the install script completes, you will be given a URL through which you should be able to login and use p0 platform.
Screenshot of your command line when if all goes right, it will give you the URL of your local setup
Install on common server or cloud VM:
In order to install on a common server or cloud VM, You will need to optionally pass a domain name or IP address (Public or Private) on the installation website will be accessed.
in above case 10.25.12.34 represents your internal/external IP, which you would visit in your browser.
Update to latest version
Local version: In order to update your local version to latest application, you can run the below command:
Server version: In order to update your application deployed on common version or cloud VM, you can run the below command:
Restart your local app
Stopping and starting your P0 installation is very simple. In your repository run the following command to stop your installation:
When you want to start your installation again, run:
If you remove the volumes via docker-compose, then your test results will be erased.
If you are facing any trouble setting up the application locally, reach out to us at email@example.com