These are the brief step on configuring Snipe-IT ver. 6.1.10 with XAMPP 8.16
- Install XAMPP as usual.
- Download Snipe-IT, extract and put into folder C:\xampp\htdocs\snipe-it (location of your XAMPP installation and for this example I'm also using snipe-it as folder name).
Composer Configuration
- Download the latest composer and install it.
During the installation process, choose C:\xampp\php\php.exe (location of the command-line PHP you want to use). - Open Command Prompt (without "Run as Administrator").
- Changed to the folder location of Snipe-IT that you extracted previously (in Command Prompt).
- Execute the command: composer install
- If error during the execution of this command (usually on enabling the extension in php.ini), just enabled the extension required.
- Personally, I'll execute the command composer update before continuing process no 4.
Snipe-IT Configuration
- Open the folder of Snipe-IT that you extracted previously (in Windows Explorer).
- Copy file name .env.example and rename as .env
- Generate your App key by;
- Open the folder of Snipe-IT (in Command Prompt).
- Execute command php artisan key:generate
- Browse PHPMyAdmin and create a database for snipe-it (for this manual, database named snipe-it)
- Edit .env and changed;
- APP_URL=localhost
- DB_DATABASE=snipe-it
- DB_USERNAME=root
Hopefully, this can help you during the deployment of Snipe-IT.
No comments:
Post a Comment