Skip to content

BrisklyPapers/webstack

Repository files navigation

Briskly Papers

About Briskly Papers

A fast and simple document store. Its goal is to provide a simple way to store and find all your documents.

Getting started

git submodule init git submodule update

start the docker stack

$ docker-compose up -d

init app (laravel)

set environment variables

$ cp ./php/src/.env.development ./php/src/.env

install composer dependencies

$ docker-compose exec app bash

root@aef84695e027:/var/www# composer install

root@aef84695e027:/var/www# php artisan migrate

take a look around

The interface is available at http://localhost:8085/

Environment

  • Web Node (localhost:8085, container name: web), contains Nginx, connects to Laravel App
  • App Node (container name: app), contains Laravel, provides all backend features
  • Elasticsearch (localhost:9200, container name: elasticsearch1, elasticsearch2), contains all documents
  • NodeJs - React (container_name: react), contains web frontend

Directory structure

System Requirements

  • Docker
  • For elasticsearch:
    • sudo sysctl -w vm.max_map_count=262144

Troubleshooting

If http://localhost:8085/ is not responding as expected, there might be permission problems. Current workaround: $ sudo chmod a+rwx -R ./php

Development

Working with git submodules: git-scm

About

Contains the complete web stack for Briskly Papers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published