These services are required for normal operation:
- php 7.2.2+
- Composer
- npm
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- BCMath PHP Extension
- a webserver
- mysql 5.6 or compatible DBMS
- Make sure the required services are up and running;
- Clone this repository and checkout needed branch;
- Create a dedicated clean MySQL (or compatible) database;
- Run
cp .env.example .envto create .env file; - Update .env file with DB information and APP_URL and API information;
- Install required dependencies:
composer install; - Install npm required dependencies
npm install; - Update database:
php artisan migrate; - Activate Admin Panel
php artisan db:seed --class=VoyagerDatabaseSeeder; - Check if everything's up by visiting your page in the web browser, and you are done!
- To create a new admin user you can pass the --create flag, like so:
php artisan voyager:admin your@email.com --createAnd you will be prompted for the users name and password.;