View Code? Open in Web Editor
NEW
Shoreline Community College website redesign with Github Page demo
Home Page: https://virtual.github.io/shoreline/
PHP 0.09%
JavaScript 4.88%
SCSS 30.76%
Blade 64.26%
shoreline's Introduction
cd ~/Homestead
vagrant up
vagrant ssh
- log in to vagrant
cd code/test
npm run watch
or npm run watch-poll
- Watch and compile changes, must be done from vagrant server
- use
http://localhost:3000/
for dev
rm -rf docs
npm run prod
npm run docs
- Uncomment lines 21-26 in webpack.mix.js (postCss)
npm run prod
- Get CSS from assets/css/main-support.css
- Comment lines 21-26 in webpack.mix.js (postCss)
- All .scss comments should be on their own line to prevent bugs
npx stylelint source/_assets/sass/FILE.scss --fix
to autofix
- Install Vagrant and VirtualBox per Laravel Homestead guide, currently using Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-112-generic x86_64)
cd ~/Homestead
vagrant up
(and if everything's missing reload provision)
- Add site path (homestead.test) to /etc/hosts
192.168.10.10 shoreline.test
- Add path to /etc/hosts
npm install
or see Windows (below) if errors
composer install
(untested)
- Add site path to C:\Windows\System32\drivers\etc\hosts
npm install --no-bin-links
from Windows bash (or npm update --no-bin-links
for updates)
sudo npm rebuild node-sass --no-bin-links
from Vagrant bash
browser-sync start -p "shoreline.test" -f "build_local, assets"
from Windows bash (http://localhost:3000/)
- Add to vagrant file:
config.vm.network :forwarded_port, guest: 3000, host: 3000, auto_correct: true
(reload prov)
shoreline's People
Contributors
Stargazers
Watchers