Skip to content

Developer Guideline

Developer Guideline

If you're a developer and want to run the AutoPost project on your development platform, follow these instructions. You will need PHP, Composer, MySQL and a local web server. The steps below use Laravel Artisan for serving the application locally.

Prerequisites

  1. Create your MySQL database.
  2. Open .env from the project root folder.
  3. Configure:
  4. DB_DATABASE — Database name
  5. DB_HOST — Database host (usually 127.0.0.1)
  6. DB_USERNAME — Database user
  7. DB_PASSWORD — Database password

Installation Commands

Run these commands in your project terminal:

composer install
php artisan key:generate
php artisan storage:link
php artisan migrate:refresh --seed
php artisan serve

Access

Open your browser and visit http://127.0.0.1:8000 (or the URL shown by php artisan serve).

You will see the installation page if the app is not yet installed. Complete the installation wizard as directed by entering database credentials and app settings. After successful installation, you can log in and use the application. Use the default Super Admin credentials if you ran the seed command.

See Also