Code Monkey home page Code Monkey logo

Comments (4)

bedus-creation avatar bedus-creation commented on June 9, 2024

change public_html folder name into public

from shopping-sahuba.

parimahziaei avatar parimahziaei commented on June 9, 2024

thanks a lot for your answer. I change it. but unfortunately, I face this: 500
Whoops, something went wrong on our servers.
also before your guidance, I follow this page: https://stackoverflow.com/questions/30873773/laravel5-chdir-no-such-file-or-directory-errno-2
but nothing happened...
help me plz.

from shopping-sahuba.

parimahziaei avatar parimahziaei commented on June 9, 2024

let me add that I had this error after database seed when I run php artisan serve:
31| * @throws \Exception
32| */
33| public function handle()
34| {

35| chdir(public_path());
36|
37| $this->line("Laravel development server started: http://{$this-host()}:{$this->port()}>");
38|
39| passthru($this->serverCommand(), $status);

so i changed :
// chdir(public_path());
chdir('/');
according to link but again that I faced error as I said in the first comment

from shopping-sahuba.

bedus-creation avatar bedus-creation commented on June 9, 2024

To run project successfully

  1. clone the project git clone [email protected]:bedus-creation/Shopping-Sahuba.git
  2. change public_html folder name into public
  3. change .env example to .env
  4. Generate app key
php artisan key:generate
  1. setup database credentials
  2. Install dependecies
composer install 
  1. run the project

from shopping-sahuba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.