Giter VIP home page Giter VIP logo

ln-prints's Introduction

LN Prints application

This project is the website for LN Prints.

Table of contents

1.0 Installation
1.1 Environment
1.2 Composer dependencies
1.3 Setup Sail
1.4 Migrate database
1.5 Media
1.5.1 Mac OS
1.5.2 Sail
2.0 Laravel Nova
3.0 Laravel Telescope
4.0 Laravel Horizon
5.0 Tests

1.0 Installation

Follow the steps below to initialize the project.

1.1 Environment

  • Create an .env file adjusted to your needs (take .env.example as example)

1.2 Composer dependencies

  • Install composer dependencies with composer install.

1.3 Setup Sail

  • Install Sail with sail build --no-cache.
  • Run sail up -d to bring up the docker containers.
  • Run the command sail artisan storage:link to link the storage folder to the public folder.

1.4 Migrate database

  • Migrate the database by running the sail artisan migrate command in the terminal.

1.5 Media

Because we use spatie media library and video uploads you must install FFmpeg to generate images from the uploaded video.

1.5.1 Mac OS

Execute the following command in the terminal.

brew install ffmpeg

Add the following variables to your environment.

FFMPEG_PATH="/usr/local/bin/ffmpeg"
FFPROBE_PATH="/usr/local/bin/ffprobe"

1.5.2 Sail

Execute the following command in the terminal.

sail shell
sudo apt update
sudo apt install ffmpeg

Add the following variables to your environment.

FFMPEG_PATH="/usr/bin/ffmpeg"
FFPROBE_PATH="/usr/bin/ffprobe"

2.0 Laravel Nova

This project uses Laravel Nova for managing resources. Navigate to /admin to enter the Laravel Nova panel.

NOTE: The path can be configured in the .env file with NOVA_PATH=

3.0 Laravel Telescope

This project uses Laravel Telescope for debugging purposes. Navigate to /telescope to enter the Laravel Telescope panel.

NOTE: The path can be configured in the .env file with TELESCOPE_PATH=

NOTE: Telescope should be disabled on production to increase performance by configuring TELESCOPE_ENABLED=false in the .env file

4.0 Laravel Horizon

This project uses Laravel Horizon to manage queues. Navigate to /horizon to enter the Laravel Horizon panel.

NOTE: The path can be configured in the .env file with HORIZON_PATH=

NOTE: Laravel Horizon uses redis so make sure you've configured redis in config/queue.php!

5.0 Tests

This project includes some tests, execute the following command in the terminal to start them:

php artisan test

ln-prints's People

Contributors

rickgoemans avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.