Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 2.21 KB

README.md

File metadata and controls

44 lines (36 loc) · 2.21 KB

Build Status Total Downloads Latest Stable Version License

STEPS BY VIDEO TO DEPLOY A LARAVEL APP ON PRODUCTION - 000WebHosting Server:

STEPS TO DEPLOY A LARAVEL APP ON PRODUCTION - 000WebHosting Server:

  • Open file manager 000webhost
  • Go to laravel project and copy "unzipper.php" which is in unzipper-master folder
  • Paste unzipper.php on public_html folder on the 000WebHosting Server manager
  • Zip the App or the local project and upload it on public_html also
  • Go to your domain: our case is = claudia-shopping-store.000webhostapp.com/unzipper.php
  • Now all project folders and files to '/' folder root
  • Delete the default public_html
  • Rename the 'public' project folder to 'public_html'
  • Open App/providers then edit AppServiceProvider.php file and edit it to:
    • public function register() {
      $this->app->bind('path.public', function () { return base_path('public_html'); });
      }
  • Open -env file and copy the app_key except(base64:)
  • Open folder /config/ and edit App.php
    • 'key' => env('APP_KEY', base64_decode('APP_KEY_COPIED_BEFORE')),
  • Create a new database on the following link: https://co.000webhost.com/members/website/claudia-shopping-store/database
    • Stablish the parameters:
      • database name
      • database username
      • database password

Contributing

  • Anggie Liseth Castellanos Camacho
  • Welker José Pérez Acero