Skip to content

Latest commit

 

History

History
 
 

README.md

Introduction

Simple application for managing your ToDo list.

ToDo

This application is split into:

Package and deploy with Stacksmith

  1. Go to stacksmith.bitnami.com

  2. Create a new application and select the Generic application with DB (MySQL) template

  3. Select the targets you are interested on (AWS, Kubernetes,...)

  4. Compress the todo/ folder from this repo and upload it as application files:

    $ git clone https://github.com/bitnami-labs/stacksmith-examples
    $ cd stacksmith-examples/php
    $ tar czf todo.tar.gz todo
  5. Upload the build.sh and run.sh scripts from the scripts/ folder.

  6. Click the Create button

Scripts

Required scripts to build and run this application:

build.sh

This script is executed during the process of building the image, right after specific steps for each stack template. The script performs the next following actions:

  • Install wget
  • Download and install Bitnami LAMP
  • Install de Todo Application from the tarball

run.sh

This script just starts the application.

Items to be fixed

  1. Add an user and grant him permissions for running Apache and listen to 80
  2. Check permissions for storage/logs/laravel.log
  3. Check permissions for storage/framework/views