So i've been testing websites on my laptop using my localhost by using php artisan serve... But i want to be able to test code that is strictly only for touch-screen devices. Currently, I have to upload the code to my amazon server in order to test its functionality on my Iphone. Is there any way my Iphone can access my MacBooks localhost? it'd save SOO much time so i don't have to compress and upload every single time.....
Maybe this is a wrong section, but I've created (most) of a website. I used the Laravel framework, I have a mysql database attached. I want to host the website through Amazon Web services. Which AWS service would i need? it's a very basic website; users have the ability to download music, and a verryy small mysql database is being used. I would think either EC2 or Elastic Beanstalk? i'm having a hard time determining the exact differences between those.
I have a website I’ve created for a client, and I’ve created an MP3 player to play samples music. I Have links to downloadable files for the full versions of the songs. How can I make the files downloadable only after purchase? I also don’t have a purchase method set up. I’ve heard stripe is a pretty good method?
I am trying to build my very first official website. I have a friend who is trying to be an actor/model, and he has an album he is trying to market. I can play the samples of the music on the webpage just fine, but how do I set up payment for his website? I want end-users to be able to pay with a debit/credit card directly on my clients website (without having to go to Paypal or leave the website.)
Also, the security required to maintain the database..... Does Laravel have sufficient security? I will be hosting the website with Amazon Web Service so I suppose I would trust their server security?
So i got upset i couldn't solve this and moved onto something else. I tried creating a new user for mysql and in the process found a command specifying grants and permission related to mysql. When i created the new user with these grants and permission it solved every issue and everything works as intended. But why was it wrong in the first place?
Could there possibly be version issues?
Kyles-MBP:blog kylejohnston$ php -v returns: PHP 7.2.8
Kyles-MBP:blog kylejohnston$ laravel -V returns: Laravel Installer 2.0.1
Kyles-MBP:blog kylejohnston$ valet -V returns : Laravel Valet 2.0.12
Kyles-MBP:blog kylejohnston$ composer -V returns: Composer version 1.6.5 2018-05-04 11:44:59
Kyles-MBP:blog kylejohnston$ brew -v returns: Homebrew 1.7.1
oh and i can't get mySQLWorkbench to connect to it, either....
Im trying to follow the laraval 5.4 from scratch video task by task. I am stuck on episode 4. I have Laravel, Valet, Composer, Php, mysql (on command line) and mySQLWorkbench. i use Atom as my IDE.
in ~/Desktop/Coding is where i saved all of my laravel/valet installations...my project is in ~/Desktop/coding/blog
in /blog i have edited the env file to show the following: DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=blog10 DB_USERNAME=root DB_PASSWORD=
//DB_DATABASE is blog10 because i've tried this so many times, the most recent mysql //database that i've created and used is blog10.
//***IN MY TERMINAL
//this is the status of the mysql database in my terminal: mysql> status
mysql Ver 8.0.12 for osx10.13 on x86_64 (Homebrew)
Connection id: 18 Current database: blog10 Current user: [email protected] SSL: Not in use Current pager: stdout Using outfile: '' Using delimiter: ; Server version: 8.0.12 Homebrew Protocol version: 10 Connection: Localhost via UNIX socket Server characterset: utf8 Db characterset: utf8 Client characterset: utf8mb4 Conn. characterset: utf8mb4 UNIX socket: /tmp/mysql.sock Uptime: 8 hours 58 min 30 sec
//**ALSO IN TERMINAL IN ANOTHER PAGE Kyles-MBP:blog kylejohnston$ php artisan migrate //THIS COMMAND RETURNS ABSOLUTELY NOTHING //when i enter php artisan migrate, the command line has absolutely no response, i've even //left it running overnight. I cannot type anything else into the command line until i hit //control+c or start a new terminal window. If i misspell "migrate" the logs in my //logs/laravel.log will update and my terminal will prompt me with an error message
I want the migrate to automatically make the two default tables in my blog10 database =[
okay. the video mentioned homestead. I'm sure i'll check it out later. i know its a virtual machine. i don't know anything about virtual machines.
im asssuming... something like... brew services reinstall mysql57
when i type php artisan migrate, it doesn't do anything. My command line gets basically frozen. like if i type anything and hit enter its no longer processing anything. kind of like when you start php artisan serve. so nothing pops up in the laravel log file. if i mistype the word migrate, and the "did you mean migrate" box pops up, then that shows in the log file.
yes i can use php artisan serve and connect to localhost in browser to view the laravel welcome page. I can connect to the sql database through command line. Yeah theres a lot of stuff in the storage log file. looks like all of my random attempts at making it work.
Im trying to mimic the laraval 5.4 from scratch video. I have done everything step by step to this point. I have the latest version oh php, composer, laravel, brew, valet, and mysql. I have created a database called blog. i edited the information in my .env, username is root. password is blank. when i get on the command line and cd into my project folder, i run php artisan migrate and absolutely nothing happens at all. i get no response from the terminal even after long periods of time (30 minutes) and i cant type in that terminal window until i press control+c
i cannot get the database to connect to my app and sql.... the tables aren't being created when i run migrate...i've been trying to figure this out all day. this is my very first post ever asking for help.