Coder Social home page Coder Social logo

bookstack-app's Introduction

bookstack-app

AWS Elastic Beanstalk PHP deployment package for BookStack.

This allows for easy scability by mounting a EFS volume to share uploads across multiple instances.

WARNING: The BookStack source code is NOT included!

Usage

Elastic BeanStalk will automatically run composer install when you deploy your application.

  1. Clone the repo:
    git clone https://github.com/cwru-iso/bookstack-app.git

  2. Run the build script within the repo:
    cd bookstack-app && ./build.sh

  3. Upload the zip file to your Elastic Beanstalk application/environment.

  4. Configure your environment based on your requirements.
    See: BookStack hardware requirements.

Environment

Larvel can use global environment variables instead of the ones in .env, so it is recommended to use this (via Elastic Beanstalk) for any adjusting any settings. Below are minimum required values that must be set for proper functionality.

See the files in .ebextensions for more information.

BookStack

  • APP_KEY - Larvel application key; generate this beforehand.
    php artisan key:generate --show

  • APP_URL - Recommended to be set as the real publicly accessible URL for your BookStack environment.
    This is required if you plan to use any 3rd-party login options.

  • DB_HOST - IP/Hostname and port of the database server.
    eg: 127.0.0.1:3306, db.host.com:3306, etc.

  • DB_DATABASE - Name of the database for BookStack.

  • DB_USERNAME - BookStack database username.

  • DB_PASSWORD - BookStack database password.

EFS

  • EFS_FILE_SYSTEM_ID - Elastic File System ID; must be in the same region and subnet(s).

License

See LICENSE.

Credit

Author

Kyle Colantonio
kyle [.] colantonio @ case [.] edu
Case Western Reserve University

bookstack-app's People

Contributors

iarekylew00t avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bookstack-app's Issues

Updating Bookstack?

Hey there! Thank you so much for these scripts... they have been a pleasure to use. I just wonder whether you have a recommended way of updating Bookstack from version to version? Right now I just rebuild and reupload the zip to Elastic Beanstalk. Acceptable approach? :D

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.