Nov 18, 2018 Install Snipe-it to windows 7 with wamp,snap-it. Install Snipe-it to windows 7 with wamp,snap-it. Install Snipe-it to windows 7 with wamp,snap-it. Generate your app key. Php artisan key:generate. This will update the app key in your.env file: Be sure to keep this app key in a safe place, as it is necessary for decrypting any encrypted. Snipe-IT is a free, open source IT asset management system. Features include management of assets, users, licenses, accessories, consumables and components, as well as two-factor authentication, LDAP/AD syncing, and asset acceptance confirmation. Jan 25, 2019 Expected Behavior (or desired behavior if a feature request) To generate key (what you expect to happen goes here) Generate Key Actual Behavior Error: filegetcontents (c:wampwwwsnipe-it/.env): no such file or directory (what actuall.
Are we missing a guide for your target system? Request one, or submit your own!
Snipe-it Artisan Not Generating Key Windows 10
Snipe-IT is a free and open source web application for IT assets management. It is written on the Laravel 5.2 framework and uses MySQL to store its data. Snipe-IT is a complete and comprehensive solution for assets management, software license management, and much more.
In this tutorial, you will learn to install Snipe-IT on Ubuntu 16.10.
Prerequisites
- A Vultr Ubuntu 16.10 server instance.
- A sudo user.
Mar 22, 2018 Next, change the directory to snipe-it and Install PHP dependencies using Composer with the following command: cd /var/www/snipe-it sudo composer install -no-dev -prefer-source. Next, generate the 'APPKey' with the following command: sudo php artisan key:generate. You should see the following output.
Step 1: System update
Before installing any packages on the Ubuntu server instance, it is recommended to update the system. Log in using the sudo user and run the following commands to update the system.
Step 2: Install Apache web server
![Artisan Artisan](/uploads/1/2/6/0/126047866/164853750.jpg)
Install the Apache web server.
Start Apache and enable it to automatically run at boot time.
Step 3: Install PHP 5.6
Snipe-IT is compatible with any version of PHP greater than 5.5.9. Since PHP 5.5 has reached end of life, you can install PHP 7. Run the following command to install PHP 7 with the modules required by Snipe-IT.
Step 4: Install MariaDB
MariaDB is a fork of MySQL. Install it using following command.
Start MariaDB and enable it to automatically start at boot time.
Secure your MariaDB installation.
You will be asked for the current MariaDB root password. As we have just installed MariaDB, its root password has not been set. Press the
enter
key to proceed. Set a strong root password for your MariaDB server and answer Y
to all of the other questions asked. The questions asked are self explanatory.Step 5: Create database for Snipe-IT
Snipe-it Artisan Not Generating Key Code
Log into the MariaDB shell as its root user using the following command.
Provide the password for the MariaDB root user.
Run the following queries to create a database and a database user for Snipe-IT.
Make sure that you use a semicolon at the end of each query above. You can replace the database name '
snipeit_data
' and username 'snipeit_user
' according to your needs. Be sure to change 'StrongPassword
' to a very strong password.Step 6: Install Composer
Install Composer using the following command. Composer is a dependency manager for PHP.
Step 7: Install Snipe-IT
First, install Git.
Switch to Apache's web-root folder and clone the latest version of Snipe-IT.
Create the
.env
file from example file provided.Edit the
.env
file.Find the following lines and edit the values according to instructions provided.
Leave the default values for all of the other parameters. Save the file and exit the text editor.
Provide the appropriate ownership and file permissions.
Install PHP dependencies using Composer.
Generate the '
APP_Key
'.Step 8: Create virtual host
Run the following command to create a virtual host for your Snipe-IT site.
Add the following lines into the file, then save the file.
Activate the configuration and enable
mod_rewrite
using the following commands.Restart Apache.
Step 9: Finish installation
Your Snipe-IT installation is now complete. You can finish configuring Snipe-IT through your web browser. Navigate to the following link, replacing
snipeit.example.com
with the IP address of your Vultr VPS.Thank you for reading. This concludes the tutorial.
Sponsor
Apr 21, 2017
Expected Behavior (or desired behavior if a feature request)according to https://snipe-it.readme.io/docs/generate-your-app-key the following command should generate a key and set the APP_KEY value in the .env file: |
commented Apr 21, 2017
I (finally) figured out how to get the key. Thanks for all the help. |
closed this Apr 21, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment