Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/addono/lisa
Lisa Is Super Awesome (LISA) - "An informal thing tracker"
https://github.com/addono/lisa
codeigniter docker docker-compose html javascript jquery js manager php till users web-application
Last synced: 2 months ago
JSON representation
Lisa Is Super Awesome (LISA) - "An informal thing tracker"
- Host: GitHub
- URL: https://github.com/addono/lisa
- Owner: Addono
- License: mit
- Created: 2017-02-05T23:22:07.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T02:26:19.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T19:20:43.143Z (9 months ago)
- Topics: codeigniter, docker, docker-compose, html, javascript, jquery, js, manager, php, till, users, web-application
- Language: PHP
- Homepage:
- Size: 61.1 MB
- Stars: 4
- Watchers: 5
- Forks: 4
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LISA
![Continuous Integration](https://github.com/Addono/LISA/workflows/Continuous%20Integration/badge.svg?branch=master)
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg)](#contributors)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/609d0cc095eb48b18305a6cc3e178f4d)](https://app.codacy.com/app/Addono/lisa?utm_source=github.com&utm_content=Addono/lisa&utm_campaign=badger)
[![Project Status: Inactive β The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.](https://www.repostatus.org/badges/latest/inactive.svg)](https://www.repostatus.org/#inactive)![Screenshot of the application](https://i.imgur.com/Yc03EAW.png)
Lisa Is Super Awesome (LISA) is an application made to track "things" between friends/a group of people who trust each other. It offers a simple, informal and trust-based system to let users tally on each other. Although the system is designed with a non-exploitative user base in mind are all actions related to a user still completely transparent, as each user can see on whom they tallied and who tallied on their tap.
Many use-cases can be imagined, in general LISA gives each user an integer sized balance which each user can subtract from on a one-by-one basis. Imagined use cases include collectively buying goods and keeping track of whom used what.
## Installation
### docker-compose (Recommended)
```bash
# Clone the repository
git clone https://github.com/Addono/lisa && cd lisa# Install dependencies
npm install# (Optional) Configure the database, the defaults are for a docker-compose instance
vim application/config/database.php# (Optional) Configure general settings, setting the hostname is mandatory
# by default it is set to http://localhost:8080, if your Docker instance
# is not at localhost, then you need to set $config['base_url'] manually
# in application/config/config.php
vim application/config/config.php# (Optional) Although you will get nasty errors in your logs whenever it
# tries to send email.
vim application/config/email.php# Configuration is finished, let's deploy the application and all required services
docker-compose up -d
```
One small last thing we need to do is to run all database migrations, either point your browser at [http://localhost:8080/install](http://localhost:8080/install) or run`curl http://localhost:8080/install`.:rocket: And we are live at [http://localhost:8080](http://localhost:8080) :rocket:
Hint: The default admin credentials are `admin:admin312` :wink:
_Note: Depending on how you installed Docker it might be that Docker is not accessible at localhost, in that case replace localhost with the IP address of your Docker installation. E.g. for docker-machine users run `$(docker-machine ip)`._
### Manual
Requirements:
* PHP 7* with the mysqli extension enabled.
* MySQL database1. Download a copy/make a clone/make a fork of the project and move it to a folder in your web server.
1. Rename or copy `config.php-setup`, `database.php-setup` and `email.php-config` to `config.php`, `database.php` and `email.php` respectively, these files can be found in `application/config/`.
1. Edit these config files to match your system.
* Add your hostname in `config.php`.
* Enter the settings of your database in `database.php`.
* (Optional, but recommended) Configure an SMTP server in `email.php`.
1. Navigate to __YOUR_HOSTNAME__/index.php/Install to initialize the database.*The docker-compose deploy method and the CI are using 7.3. The version used there is leading and the only one supported.
## Usage
By default, the database is populated with one admin user with username `admin`and password `admin312`. Login as this user and change the password as soon as possible.
Afterwards, use the admin user to create new users, which can be done in the backend. When creating new users, make sure that the `user`role is enabled*, otherwise they won't be able to use the application.
*The admin user doesn't have the user role by default, hence the "Insufficient rights" message when you first logged in. Obviously you can add the admin user to the `user`group, however it is recommended to keep the admin user merely as an admin.
## Customisation
### Language
Currently, the language used by the application is hard-coded into `Handler.php`, for future releases it is planned to move configurations like these into the database. For now, one should edit hard-coded language or substitute all language files in the `nederlands` language folder with your language of preference. During development I tried to add translations for both English and Dutch, so the English translation files should be complete.## Contributorsβ¨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Adriaan Knapen
π§ π¨ π π» π π
Djamon Staal
π‘οΈ π
Koen
π π€ π π
Timo
π»
Patrick Hilhorst
π»
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!