Normal Run
Learn how to run DocKing locally on your machine
Prerequisites
Check out the Requirement page.
Installation Steps
Step 1
Clone DocKing or download the stable release (.zip file)
Step 2
Install dependencies:
Step 3
Copy the .env.example to .env and configure it.
Reference: Environment Variables
Step 4
Run several commands to setup the project:
Run DocKing
There are several ways to run, check this out:
PHP Dev Server
A convenient way to run a whole project in a single command for development:
Then visit: http://127.0.0.1:8000, you should see a welcome page.
PHP-FPM & Nginx/Apache
With this, you can visit DocKing every time you run apache/nginx.
You'll need a PHP-FPM vhost configuration.
Apache (2.4)
docking.conf
Nginx
docking.conf
Run DocKing's Queue Worker
For "async" mode, the jobs will be pushed to database
, in order to let the jobs render, you need to run Laravel Worker.
Development Run
Production Run
Install supervisor
and use this configuration
Note: you can change the numprocs
if you are going to deploy DocKing on a strong server.
Then, run these commands and supervisor will start the work
Learn more: https://laravel.com/docs/10.x/queues#installing-supervisor
Lastly
Happy rocking!
Last updated