Skip to content

Project Structure

Erick Ruiz de Chavez edited this page Nov 22, 2020 · 3 revisions

The folowing block shows some of the files and folders in this project.

.
├── admin
├── .env.example
├── constants.inc.php
├── db
├── index.php
└── src

.env.example

Example configuration and environment variables file. Used by ./bootstrap.sh to create .env. Project configuration including Slack token and DB paths.

db

Database and migrations folder. The database is not contained in the repo, instead it is generated automatically when running ./bootstrap.sh. To keep track of DB schema changes we use Flyway as our migration tool. To read more about this see DataBase Migrations. If you need to see the current state of the data in your database, Adminer is included in the project. You can read more about it in SQLite Admin.

index.php

Entry point for Slack events.

src

All the classes required to run this project.

Clone this wiki locally