YAAMS is an alternative to PHPvms or Virtual Airline Manager. YAAMS takes a more modern approach to virtual airlines software by using new technologies and going by the standard of "API first". It is at a very early development stage and not ready for production use.
What works already:
For example, this is the file PIREP form. This is all a WIP.
Docker/Dockerfile
using $ cd Docker; docker build . -t yaams-app:dev
$ docker network create yaams
.env.example
to .env
$ cd Docker; docker-compose up -d
. These containers are the database and a GUI using phpMyAdmin.$ docker run -it --rm --network yaams -u $(id -u):$(id -g) -v $(pwd):/app -p 8000:8000 yaams-app:dev bash
$ composer install
$ php artisan migrate && php artisan db:seed
Notice: When you run a dev container, please use $ php artisan serve --host="0.0.0.0"
as command.
If you are running NixOS on your machine, you can enter a dev shell using the provided NixOS flake by running nix develop
. This will provide composer and php in a temporary dev shell. However, as of right now, you still need to use Docker for the db and phpMyAdmin.
git clone https://github.com/YAAMSOrg/yaams-server.git
in your directorycomposer install
to install the componentsSince this project is at a very early development stage, it can happen, that Laravel migrations are changed. So I recommend, that, before you start working on your tasks, you run a php artisan migrate:fresh; php artisan db:seed
before starting your development.
This will change in the future, since we then start migrations the way they should be used, but at this time it is way more practical to just edit the migrations that are already there.
The default users and password for testing are:
The auth tokens for developing the API are issued on the db:seed command and printed out.
Please store them somewhere, they are not shown again!
This software is open source with a reason: Because we want you to commit to the project!