The sypian server delivering an API.
It serves as an api to save projects, categories and their relations into a neo4j database.
The API specification is defined in the swagger.yml.
Why sypian? wtf? Yeah, it means "see your projects in a network".
Load vendor libraries through composer and build the docker image.
make build
First start the neo4j server which is needed for the integration tests.
make neo4j
Then run the test command.
make test
make lint
- php: Holds the php binary and the source code of sypian.
- nginx: Gets the source code as a volume and serves as the webserver, connected to the php container.
- neo4j: The neo4j database connected to the php container.
We use an environment for building the production docker image.
export SYPIAN_BUILD_ENV=production
docker run --rm --volume ${CODE_DIR}:/app composer install --ignore-platform-reqs
docker-compose build
Now you can run the containers.
docker-compose run