martinshaw/rivet

Generate simple, fast and powerful CMS functionality for your Laravel application ⌁ Pages - Forms - Articles - Data

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

Language:TypeScript

pkg:composer/martinshaw/rivet

0.0.1.0-alpha 2025-11-04 23:34 UTC

This package is auto-updated.

Last update: 2025-11-04 23:38:02 UTC


README

Pages - Forms - Articles; a simple yet powerful free self-hostable CMS platform

More information

For more information about Rivet, please refer to the documentation coming soon.

Installation

To install Rivet, follow these steps:

  1. Install the required software:

    • PHP 8.1 or higher with the following extensions: BCMath, Ctype, Fileinfo, JSON, Mbstring, OpenSSL, PDO, Tokenizer, XML, GD, Curl and PHPRedis.
    • Composer
    • Node.js and npm
    • A database server (MySQL, PostgreSQL, SQLite, etc.)
    • A web server (Apache, Nginx, etc.)
    • Redis server

    If you are installing Rivet on your local machine for development purposes, I would recommend that you use Laravel Herd with DBngin to manage these components of your local development environment.

    If you are installing Rivet on a production server, I would recommend that you use a service like Laravel Forge to manage your server and deployment, or contact a specialist to help you set up these components securely.

  2. Clone the repository:

    git clone https://github.com/martinshaw/rivet.git
  3. Change the project directory name to your desired application name:

    mv rivet your-project-name
    cd your-project-name

    ... with your-project-name replaced with your desired application name.

  4. Install the dependencies:

    composer install
    npm install
  5. Copy the development or production environment file:

    cp .env.example.production .env # For development, use .env.example.development

    Then, generate the application key:

    php ./artisan key:generate

    In the future, this will be replaced with a CLI installation wizard php ./artisan rivet:configure

  6. Migrate and seed the database:

    php ./artisan migrate --seed

    You will need to press enter to select the option to create the database when prompted.

  7. Build the frontend assets:

    npm run build
  8. Run daemon processes:

    composer run production # For development, use `composer run dev`
  9. Setup scheduler cron job: When developing Rivet, the composer run dev command will run the Laravel scheduler in a separate process (skip this step). However, in production, you will need to set up a cron job to run the scheduler.

    You can do this by adding the following line to your server's crontab file using crontab -e:

    * * * * * cd /your-project-name && php artisan schedule:run >> /dev/null 2>&1

    ... with /your-project-name replaced with the actual path to your Rivet installation.

    To exit the crontab editor (if vim), you may need to press Esc, then type :wq and press Enter.