Git Product home page Git Product logo

turbo-laravel.com's Introduction

Turbo Laravel Website

Source code of the Turbo Laravel website.

Local Development

If you want to work on this project locally, you may follow these instructions:

  1. Checkout the source code:
git clone [email protected]:hotwired/turbo-laravel.com turbo-laravel.com
  1. Copy the .env.example to .env:
cp .env.example .env
  1. We ship with a Laravel Sail setup, so you may pull the composer dependencies first:
# If you have PHP >=8.1 installed locally with Composer:
composer install

# If you don't have PHP installed, but have Docker:
docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v $(pwd):/var/www/html \
    -w /var/www/html \
    laravelsail/php81-composer:latest \
    composer install --ignore-platform-reqs
  1. Pull all docs sources and create the docs symlinks:

From your local machine (needs access your GitHub user to clone):

source ./bin/docs-pull.sh

Next, create the symlinks from sail:

# First, get a shell:
sail shell
# Next, create the symlinks:
source bin/docs-symlinks.sh
  1. Boot the containers:
sail up -d
  1. Download the Latest version of the TailwindCSS bin and start a watcher:
sail artisan tailwindcss:download
sail artisan tailwindcss:watch
  1. Run the storage symlink command (needed for Importmap Laravel):
sail artisan storage:link
  1. Open the browser at http://localhost

Alternatively, you may prefer to run the project another way. Make sure you

Torchlight Integration

We're using Torchlight for code highlight, so head out to their website, create an account, generate a token and update the TORCHLIGHT_TOKEN entry on your .env file with it:

TORCHLIGHT_TOKEN=your-token

turbo-laravel.com's People

Contributors

tonysm avatar osbre avatar bimsonz 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.