Code Monkey home page Code Monkey logo

laravel's Introduction

status: inactive

This project is no longer actively developed or maintained.

See the community tutorial for Running Laravel on App Engine Standard instead.

This repository contains a modified Laravel Starter app for Google App Engine.

Installation

  1. Clone the repository with

     git clone https://github.com/GoogleCloudPlatform/laravel.git
    
  2. Follow the PHP Tutorial if you have never used App Engine before.

  3. Create a CloudSQL instance based on these instructions. Also create a database for storing the Eloquent ORM.

  4. Replace <project-id>, <instance-id> and <database-name> in app.yaml with the corresponding value for your Google Cloud project and ClouSQL instance. By default, the app will store the cache files and logs at a specific location in the app's default GCS bucket. This can be changed by altering the STORAGE_PATH environmental variable in app.yaml. Remember to also update google_app_engine.allow_include_gs_buckets to match the new value in php.ini.

  5. Install composer if you haven't done so previously. To install all required dependencies, run the following command from your project's root, which is the directory that contains composer.json.

     php composer.phar install
    
  6. Deploy your app.

  7. Access your app using http://your_project_id.appspot.com/ and you should see Laravel's default welcome page.

Troubleshooting

  1. If Composer fails to download the dependencies, make sure that your local PHP installation satisfies Composer's system requirements. Specifically, cURL support is required.

  2. If you see errors about missing the default Cloud Storage bucket, follow the cloud integration instructions to create a default bucket for your project.

Contributing

Have a patch that will benefit this project? Awesome! Follow these steps to have it accepted.

  1. Please sign our Contributor License Agreement.
  2. Fork this Git repository and make your changes.
  3. Create a Pull Request
  4. Incorporate review feedback to your changes.
  5. Accepted!

License

All files in this repository are under the MIT License unless noted otherwise.

laravel's People

Contributors

taylorotwell avatar daylerees avatar franzliedke avatar jasonlewis avatar sparksp avatar cviebrock avatar tobsn avatar crynobone avatar bencorlett avatar jeffreyway avatar ericlbarnes avatar neoascetic avatar grahamcampbell avatar jesseobrien avatar kapv89 avatar mikelbring avatar jakobud avatar codler avatar kbanman avatar lancepioch avatar pedroborges avatar mathewhany avatar vespakoen avatar briankiewel avatar mcintyre94 avatar bertiful avatar loic-sharma avatar bpierre avatar tommyc81 avatar hirokws avatar

Watchers

James Cloos avatar

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.