Skip to main content

Install Mixpost Lite manually

If you have basic PHP knowledge and know how to deploy a PHP application to a server, you can follow these instructions.


Before proceeding, please review the server requirements and install all necessary softwares to ensure that Mixpost functions properly.

1. Creating the application

Install Mixpost Lite with composer:

composer create-project inovector/MixpostApp

2. File Permissions

Make sure you have the right file permissions

chmod -R 755 public
chmod -R 775 storage
chmod -R 775 bootstrap/cache

3. Application Configuration

3.1 Configure Environment

Adjust the .env file settings to match your project requirements. Set the APP_URL to the URL of your project and update the DB_* entries to align with your database specifications.

3.2 Optimize application

php artisan optimize

3.3 Migrate tables

php artisan migrate

5. Application Process Management

Involves overseeing and controlling the essential processes that keep an application running efficiently.

5.1 Setting Up Process Supervision

Before configuring a Supervisor process monitor, make sure you have installed Redis and Supervisor on your server.

Create mixpost_horizon.conf file inside of /etc/supervisor/conf.d folder and put this content:

command=php /path-to-your-project/artisan horizon

Once the configuration file has been created, you may update the Supervisor configuration and start the processes using the following commands:

sudo supervisorctl reread

sudo supervisorctl update

sudo supervisorctl start mixpost_horizon:*

5.2 Configuring Scheduled Tasks

Add a cron that runs the scheduler every minute:

* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

6. Create the first user

You can create an initial user by executing:

php artisan mixpost-auth:create

7. Done

Mixpost is now accessible through the previously specified APP_URL. Example: