Skip to content

Open-SGF/motherhood-reclaimed-website

Repository files navigation

Motherhood Reclaimed Website

A website for Motherhood Reclaimed built with Craft CMS

Requirements

Setup

  • Create an empty MySQL database

  • Copy .env.example to .env

  • composer install

  • npm install

  • php craft setup

    • Fill out your database information
    • Choose the default options for everything else
    • Create a username and password. These credentials are for your machine only. They don't need to be unique
  • Setup system email env values

    • Create an app password using a gmail account
    • Fill out SYSTEM_EMAIL_ADDRESS, GMAIL_USERNAME, and GMAIL_PASSWORD
  • php craft migrate/all

  • php craft project-config/apply

  • Running the project

  • php craft serve 0.0.0.0:8000

  • npm run watch

    • Run in a separate terminal