Comments (3)
Hi, I'm attempting to install this on AWS and having similar issues. I think one issue may be PHP8.1. What version of PHP are you using in your configuration?
Curiously, composer.json reflects support for anything greater that 7.4, but I'm getting a ton of null reference errors in the templates with 8.1. Albeit, I'm new to laravel in general, so there may be other reasons for it.
I do feel more thorough installation documentation would be helpful (and would gladly offer up some my technical writing skills)
-r
from handesk.
Maybe i can explain some for the Ubuntu 22.04 case. Not so much for the AWS case.
I'm guessing that the main problem for you @twillett came from not knowing what to do with the info from the first comment in the example install step:
# Setup your .env file to match your desired database
This is also not a clear explanation for people who don't know a lot about how laravel works so imma explain what that means.
Basically Handesk requires you to:
A. Have a Database in place (so something like MariaDB, MySQL or anything else)
B. Have set up your .env file accordingly
Let's first go over B.
For any Laravel application you need a .env file that holds various information. It's best to copy the .env.example
file given and modify the necessary information.
First copy the file:
cp .env.example .env
Now you can see near the top of the file some database information:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=handesk
DB_USERNAME=handesk
DB_PASSWORD=password
(Note: you probably have different values for DB_DATABASE and DB_USERNAME, i already adjusted them)
Here you can change the database-/username and password to anything you'd like. I'd suggest you use handesk
for database and username to make it clear what the database and user are for. The password you can fill in yourself.
Now for part A, the database stuff.
You have to create the same user with the password you set in your .env
file in your database. In the mysql case do the following:
- Connect to the database (assuming it runs on the same machine as handesk):
mysql -u root -p
- Create the database with the name you chose:
CREATE DATABASE handesk;
- Create the user with password:
CREATE USER 'handesk'@'localhost' IDENTIFIED BY 'password';
- Grant permissions:
GRANT ALL PRIVILEGES on handesk.* to 'handesk'@'localhost';
Then when you execute the installation steps from the README it should work.
Do note that i am not sure what your exact problem was since but I'm guessing that this is what most people will fail at when not knowing about Laravel.
from handesk.
Guys, it is a project made with the Laravel framework, if you know the basics of installing Laravel you will know how to install this system, I suggest you take a look at Laravel, this will also help you to carry out future modifications and customizations.
from handesk.
Related Issues (20)
- Failed to parse dotenv file due to an invalid name.
- Dependabot couldn't access bitbucket-api-fork
- Dependabot couldn't access bitbucket-api-fork
- feature request: php8 support HOT 1
- feature: user ldap integration HOT 1
- Request : Explicit database relation HOT 1
- ErrorException
- Let agent view solved tickets
- Docker compose up not working
- Maintaining of Project HOT 9
- Want to use handesk-php into handesk app. I am getting some errors HOT 1
- edit agent - Error while loading: 500 Internal Server Error HOT 5
- Reverse proxy config HOT 2
- public/login not found
- Login HOT 1
- Connection could not be established with host smtp.mailtrap.io :Undefined offset: 2525
- Oauth2 Microsoft 365 HOT 1
- Error while pulling mails HOT 1
- These credentials do not match our records.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handesk.