Course Hero Logo

heroku.md - # Installing Monica on Heroku <!- omit in toc...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 2 out of 4 pages.

# Installing Monica on Heroku <!-- omit in toc -->Monica can be deployed on Heroku using the button below:[![Deploy]()](?template=)- [Installation](#installation)- [Configuration](#configuration)- [Optional: Setup the access tokens to use the API](#optional-setup-the-access-tokens-to-use-the-api)- [Optional: Generate a Password grant client for OAuth access](#optional-generate-a-password-grant-client-for-oauth-access)- [Limitations](#limitations)- [Updating Heroku instance](#updating-heroku-instance)- [Update from 2.x to 3.x](#update-from-2x-to-3x)## InstallationBefore deployment, Heroku will ask you to define a few variables.- Please ensure to enter a custom `APP_KEY` when asked (you can for instance copy and paste the output of `echo -n 'base64:'; openssl rand -base64 32`).- In addition, you can edit the email address Monica will send emails to (`MAIL_FROM_ADDRESS`), the name of the sender (`MAIL_FROM_NAME`), where emails should link to (`APP_URL`) and some other important variables on that screen.After deployment, click on ![Manage App](../../images/heroku_manage_app.png) to open the dashboard of your new application:![Heroku Dashbord](../../images/heroku_dashboard.png)Click on **Heroku Scheduler** to open scheduler dashboard. Create a new job, and define a new job to run this command every 10 minutes or every hour at 00 minutes:```shphp artisan schedule:run```You are now able to open the application and register a new user.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 4 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Summer
Professor
N/A
Tags
E mail, Heroku

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture