Moving a Laravel 4 project to a new machine

I am moving to a new machine so I zipped my Laravel project and added it to the new machine. I forgot to copy my database information though and I don't currently have access to it. I created a fresh database and tried to run php artisan migrate but it fails because it is trying to do an insert on one of the tables from the database I was using the project with on the old machine. I can't use composer or access the site in browser either. What do I need to do to get things running properly on this machine?

Answers


If you don't have a database on the current machine, you will get the error. It will complain that it can not find the database or table. If you set up database locally, you don't have to set up database again.


Need Your Help

Getting the fractional part of a float without using modf()

c++ c math bit-manipulation

I'm developing for a platform without a math library, so I need to build my own tools. My current way of getting the fraction is to convert the float to fixed point (multiply with (float)0xFFFF, ca...

Find similar words in a string

php regex

I am trying to fetch similar words in a string. Suppose I have got a set of 5 keywords.