Skip to content

flymia/sharemeister

Repository files navigation

Sharemeister

Simple screenshot hosting application with user backend implemented in Laravel for use with ShareX or cURL or other clients.

Setting up dev environment

Using containers (Docker, Podman, etc.)

  • Install Docker / Podman
  • Build the sharemeister Dev docker image, which is located under Docker/Dockerfile using $ cd Docker; docker build . -t sharemeister-app:dev
  • Create the docker network, which is needed for internal container communication: $ docker network create sharemeister
  • In the main folder, copy the .env.example to .env
  • Run the docker-compose.yml which is also located in the Docker folder using $ cd Docker; docker-compose up -d. These containers are the database, dev mail server and phpMyAdmin.
  • Run php artisan commands using the newly built container: $ docker run -it --rm --network sharemeister -u $(id -u):$(id -g) -v $(pwd):/app -p 8000:8000 sharemeister-app:dev bash
  • Install the composer components: $ composer install
  • Run the migrations and seed the db with example data: $ 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.

About

Screenshot hosting and management server for ShareX.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages