Piglet is happy to receive contributions any way they come. Bug reports, feature requests, and code contributions are all welcome and appreciated.
Please note that all code contributions to the project will be accepted under the project license. If you would like to submit your contribution under a different license, it will not be accepted.
Piglet is a pretty standard Laravel application. In order to build and run, you will need:
- git
- PHP 7.2+
- composer
- MySQL (Maria DB should work just as well, if preferred)
- SQLite
- node 8+
- npm 3.5+
Note that Piglet has only ever officially been tested to develop and run on Linux. If you're having trouble installing the dependencies, Laravel Homestead should provide a viable development environment.
Clone the repository and install the project dependencies:
git clone git@github.com:noahheck/piglet piglet
cd piglet
composer install
npm install
Copy the .env.example
file to .env
, then generate a Laravel application key:
cp .env.example .env
./artisan key:generate
Use your text editor to change the relevant values to suit your environment, including:
DB_DATABASE
DB_USERNAME
DB_PASSWORD
You might also wish to configure your environment with appropriate MAIL
parameters if you want to send emails. See the Laravel documentation.
Execute the database migrations:
./artisan migrate
Start the Artisan development server:
./artisan serve
Open another terminal in the project root and ask node to compile the javascript resources and watch for changes:
npm run watch
Open your web browser and navigate to: http://localhost:8000 (probably, your port may be different).