Skip to content

mewitte/website

Repository files navigation

Website

Setup

First you need to install Composer and Node.JS and NPM. Then install PHP mbstring and PHP xml (sudo apt install php-mbstring php-xml) and update the dependencies for both PHP and JS:

composer install
npm install
cp .env.example .env
php artisan key:generate

Development

To start development, you need to run php artisan serve. It will output the link that leads to your website. You should also run npm run watch to dynamically rebuild changes you make to the Vue app. Both commands will attach to the shell you run them in. If you don't want to sustain multiple shells, use nohup or a similar tool:

nohup npm run watch </dev/null &>/dev/null &
nohup php artisan serve &

This creates a nohup.out file. The output from npm run watch usually is not important and will be ommited, but you will find the IP and logs from php artisan serve in this file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages