Here are the installation steps for this project:
1.Clone this repository to your local machine by running the following command in your terminal or command prompt:
git clone git@github.com:Mazmiiskndr/laravel-mikrotik-api.git
- Navigate to the project directory:
cd laravel-mikrotik-api
- Install the composer packages, run the following command :
composer install
- In the root directory, you will find a file named .env.example rename the given file name to .env and run the following command to generate the key (and you can also edit your data base credentials here)
php artisan key:generate
- Install all dependencies by running the command:
npm install
- To run the project you need to run following command in the project directory. It will compile the vue files & all the other project files. If you are making any changes in any of the .vue file then you need to run the given command again.
# For yarn
yarn dev
# For npm
npm run dev
- To serve the application you need to run the following command in the project directory. (This will give you an address with port number 8000) Now navigate to the given address you will see your application is running
php artisan serve