/army

Website for drew.army

Primary LanguagePHPMIT LicenseMIT

Army

Website for drew.army

Get Started

Requirements

  • PHP ^8.1
  • Laravel ^10.10

Installation

Clone the repo

 git clone git@github.com:DrewARMY/army.git

Copy the .env.example to get a local environment file

 cp .env.example .env

After cloning the repo, install the packages via composer

 composer install

If you are using sail; make sure to install sail

php artisan sail:install

If you are using sail; create an alias for sail command for sail

 alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'

If you are using sail; Deploy the server

sail up -d

if you are using the sail; run the composer install

sail composer install

Run the migrations (using sail)

sail php artisan migrate

Run the migrations (not using sail)

php artisan migrate

Run the migrations (using sail)

sail php artisan migrate

Install npm packages ( using sail)

sail npm install

Install npm packages (not using sail)

npm install

Run the frontend( using sail)

sail npm install

Install npm packages (not using sail)

npm install

If you are not using sail, deploy the server

php artisan serve

Run the frontend( using sail)

sail npm run dev

Run the frontend (not using sail)

npm run dev

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email github@drewroberts.com

Credits

License

The MIT License (MIT). Please see License File for more information.