insanitymeetshh/file-sharing

File Sharing - InsanityMeetsHH

3.0.0 2019-04-23 13:59 UTC

README

This git is for fs.imhh.me.

This application based on Slim Skeleton 5 and Gulp Skeleton 4.

Required

Installation with Composer (Recommended)

$ composer create-project insanitymeetshh/file-sharing [app-name]
$ cd [app-name]
$ npm i
$ gulp build

Installation with Docker

  • Get skeleton via $ git clone or zip download
  • Open a command prompt on your OS (if not already open) and navigate to the project folder
  • $ npm i
  • $ gulp build
  • $ docker pull composer
  • $ docker run --rm --env docker=true --interactive --tty --volume $PWD:/app composer install
  • $ docker-compose build
  • $ docker-compose up -d
  • $ cp config\additional-settings.dist.php config\additional-settings.php
  • $ docker inspect file-sharing-db | grep IPAddress set ip as Doctrine host in config\additional-settings.php
  • Open localhost:8080 for website or localhost:9999 for database gui
  • If you want to remove a container $ docker rm [container-name] -f e.g. $ docker rm file-sharing-db -f
  • If you want to remove a volume $ docker volume rm [volume-name] e.g. $ docker volume rm imhh-fs_db_data (first remove matching container)
  • If you want to remove all container $ docker rm $(docker ps -a -q) -f
  • If you want to remove all volumes $ docker volume prune (first remove all container)

Sources