WAMP
1. Install Composer (composer.exe)
![20db708c-cdd3-11e6-9781-814b4815a1ca.jpg 582](https://files.readme.io/6c5f717-20db708c-cdd3-11e6-9781-814b4815a1ca.jpg)
Installing composer
Browse to C:\wamp\bin\php\php7.0.10\php.exe.
![7494f5fe-cdd3-11e6-9a57-6c82c4da7025.jpg 575](https://files.readme.io/5d9c53d-7494f5fe-cdd3-11e6-9a57-6c82c4da7025.jpg)
2. Select your version of PHP in WAMP
Select PHP 7+
![94ae5f24-cdd3-11e6-9405-5e899d569aa9.jpg 533](https://files.readme.io/824e7a3-94ae5f24-cdd3-11e6-9405-5e899d569aa9.jpg)
3. Set up your database
Open your MySQL console:
![a51f3626-cdd3-11e6-8b75-dc715fbd4164.jpg 481](https://files.readme.io/d045f9d-a51f3626-cdd3-11e6-8b75-dc715fbd4164.jpg)
![b4cc00f4-cdd3-11e6-8976-9eb53356a14d.jpg 588](https://files.readme.io/2925775-b4cc00f4-cdd3-11e6-8976-9eb53356a14d.jpg)
Press enter for default password, or enter your master MySQL password if you changed it to something else previously.
![c6ebb6f8-cdd3-11e6-92f1-68ea56e3acf5.jpg 597](https://files.readme.io/433719d-c6ebb6f8-cdd3-11e6-92f1-68ea56e3acf5.jpg)
Run the following commands to create and verify database:
create database snipeit;
show databases;
![e2c93328-cdd3-11e6-9788-d176125079ef.jpg 594](https://files.readme.io/75dc574-e2c93328-cdd3-11e6-9788-d176125079ef.jpg)
Create a database user and grant access to your new snipeit database:
create user snipe_user;
grant all on snipeit.* to 'snipe_user'@'localhost' identified by 'password123';
(Change password123
in the example above to something more secure, please.)
![2969dd28-cdd4-11e6-85e1-38a071a2157d.jpg 582](https://files.readme.io/c29bc70-2969dd28-cdd4-11e6-85e1-38a071a2157d.jpg)
4. Extract and configure Snipe-IT and run composer
Download and exact Snipe-IT to c:\wamp\www\snipe-it.
![3c370714-cdd4-11e6-8929-0f57eab1fde7.jpg 600](https://files.readme.io/c66b6c6-3c370714-cdd4-11e6-8929-0f57eab1fde7.jpg)
Edit .env.example
![558d95c0-cdd4-11e6-8226-cb6d717cbae8.jpg 570](https://files.readme.io/5156417-558d95c0-cdd4-11e6-8226-cb6d717cbae8.jpg)
See the Configuration options for more information on how to configure your Snipe-IT installation.
Save your edited env.example
as .env
![65e22486-cdd4-11e6-95f9-ac144f639355.jpg 727](https://files.readme.io/384a6b6-65e22486-cdd4-11e6-95f9-ac144f639355.jpg)
Open command prompt then change directory to c:\wamp\www\snipe-it\
. Then run:
composer install --no-dev --prefer-source
![7ba0458c-cdd4-11e6-8926-5a6a1c4f47a0.jpg 600](https://files.readme.io/5e4adf6-7ba0458c-cdd4-11e6-8926-5a6a1c4f47a0.jpg)
5. Generate your app key
Run:
php artisan key:generate
This will update the app key in your .env
file:
![a9aa6426-cdd4-11e6-99ee-79e4f09db77e.jpg 342](https://files.readme.io/d5f6ee0-a9aa6426-cdd4-11e6-99ee-79e4f09db77e.jpg)
IMPORTANT
Be sure to keep this app key in a safe place, as it is necessary for decrypting any encrypted fields you might add.
6. Update your virtual host settings
Edit `httpd.conf. Remember to the change http://yourcomputername to whatever address you wish to access Snipe-IT by. (These values are case-sensitive.)
![bc7fadea-cdd4-11e6-898f-0b7f9add2ef0.jpg 500](https://files.readme.io/092a1af-bc7fadea-cdd4-11e6-898f-0b7f9add2ef0.jpg)
Then restart WAMP:
![cef434c8-cdd4-11e6-82d7-d5747b130f0e.jpg 280](https://files.readme.io/f60a3e5-cef434c8-cdd4-11e6-82d7-d5747b130f0e.jpg)
Then browse to the address you set up in httpd.conf, and you should see the Pre-Flight & Setup screen. Follow the on-screen instructions, and you're all set.
Updated about 5 years ago