Best laravel framework open-source packages.

Modelrockets.space

A home for model rocket and space nerds ๐Ÿš€๐Ÿ‘จโ€๐Ÿš€๐Ÿ‘ฉโ€๐Ÿš€
Updated 3 years ago

Model Rockets Space

ModelRockets.Space is a home for model rocket and space nerds ๐Ÿš€๐Ÿ‘จโ€๐Ÿš€๐Ÿ‘ฉโ€๐Ÿš€. It has several features such as

  • Forum
  • Learning Center
  • Blog
  • User Profiles
    • User Flight Log
    • User Photo Galleries

It is built with the Laravel framework.

Installing Locally

Clone the repo

git clone https://github.com/WyattCast44/modelrockets.space.git

Move into project

cd modelrockets

Copy the env file

Make sure you set your local credentials in your .env file.

cp .env.example .env

Install Composer dependencies

composer install

Install NPM dependencies (Optional)

yarn install

Run Front End Asset Build (Optional)

yarn dev

# or

yarn watch

Migrate the Database

Make sure you make created a database and update the env file

php artisan migrate --seed

Cloudinary

This project uses Cloudinary for hosting images uploaded by users, you should create a cloudinary app and set the relavant keys in the .env file

CLOUDINARY_API_KEY=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_SECRET=

Algolia

You can set up Laravel Scout with Algolia for search by adding the relevant keys to the .env file

SCOUT_QUEUE=true    
SCOUT_DRIVER=algolia
ALGOLIA_APP_ID=
ALGOLIA_SECRET=
ALGOLIA_SEARCH=

Syncing with Algolia

You can run the following command to resync models/content with Algolia

php artisan searchable:sync

Testing

php artisan test

There is a known issue when testing publishing articles, due to technical debt, when an article is published a thead is created in the Article Discussions board, but if this board and the ArticlesBot user does not yet exist, the thread will not be created, this will lead to unforeseen and difficult problems to debug. The solution right now is just to run php artisan migrate:fresh --seed which will create the board and user.

Tags livewire php