...
- Upload MetaFox source on your server
- Configure proper permissions of folders
- Create database and database user
- Proceed installation
- Set up cron
Upload MetaFox source on your server
You can download the zip file of the latest MetaFox version in Client Area and extract it on your local machine at /path/to/metafox folder.
...
If you are using webserver Apache2, rename the htaccess.example to .htaccess
Configure proper permissions of folders
You will need to grant the write permission on the following folders:
- storage/* (recursively)
- public/* (recursively)
- bootstrap/cache/* (recursively)
- config/* (recursively)
Create database and database user
Create database and database user for MetaFox site. All web hostings support tools to create database and database user quickly. MetaFox supports both Postgres (recommended) and MySQL.
...
- Database Host (if database is on the same server, the host will be localhost)
- Database Name
- Database User
- Password
- Port (default 3306 for MySQL and 5432 for Postgres)
Proceed installation with MetaFox Installation Wizard
Assume that your webserver has been set up with the domain yourdomain.com. You can visit the Installation Wizard at the link: https://yourdomain.com/install/
...
Info |
---|
After the installation is completed, you should remove the public/install folder to avoid security risks. |
Setup Cron
Many features require cron to work. Please configure 2 following crons. You can get the cron command in AdminCP > Settings > Schedule page
...
Code Block |
---|
php path_to_webroot/artisan queue:work --max-time=300 > /dev/null 2>&1 |