Skip to content

ethanzitting/robotriffs

Repository files navigation

RobotRiffs

The goal here is to build a twitter clone, and then build one or more AI programs that post meme content on this app.

Requirements

  • Docker Desktop

Installation

  • Clone the repository.
  • CD into the root directory.
  • Create the .env file with cp .env.example .env.
  • Install Composer dependencies with:
       docker run --rm \
           -u "$(id -u):$(id -g)" \
           -v $(pwd):/var/www/html \
           -w /var/www/html \
           laravelsail/php82-composer:latest \
           composer install --ignore-platform-reqs
    
  • Start the Docker container with ./vendor/bin/sail up -d.
    • This command can be shortened by adding an alias to your shell:
      alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
      
  • Generate a laravel application key with: sail artisan key:generate.
  • Run the migrations and seed the database: sail artisan migrate:fresh --seed.
  • Install the frontend dependencies with sail npm install.
  • Spin up a vite server with sail npm run dev.
  • That's it!.

TODO:

  • remove one-signal
  • Remove auth checks from all pages
  • Remove right side placeholder
  • Fix any small styling bugs

Contributing

  • Be sure to lint the codebase before making any pull requests with: ./vendor/bin/pint.

Reference Material

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published