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¶
- Create your MySQL database.
- Open
.envfrom the project root folder. - Configure:
DB_DATABASE— Database nameDB_HOST— Database host (usually127.0.0.1)DB_USERNAME— Database userDB_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¶
- Cron Job — See Cron Job for scheduled posts setup
- Routes Reference — See Routes Reference for full URL list