Giter Site home page Giter Site logo

virtual / allanhancock Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 11.38 MB

Allan Hancock College Redesign with Github Page demo

Home Page: https://virtual.github.io/allanhancock/index.html

PHP 0.24% JavaScript 10.57% CSS 38.35% HTML 50.84%
jigsaw vagrant homestead bootstrap4 scss

allanhancock's Introduction

Allan Hancock Redesign

Development

  • cd ~/Homestead
  • vagrant up
  • vagrant ssh - log in to vagrant
  • cd code/hancock
  • npm run watch or npm run watch-poll - Watch and compile changes, must be done from vagrant server
  • use http://localhost:3000/ for dev

Put on Github:

  • rm -rf docs
  • npm run prod
  • npm run docs

Autoprefixed CSS

  • 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)

New Dev Environments

  • Install Vagrant and VirtualBox per Laravel Homestead guide
  • cd ~/Homestead
  • vagrant up (and if everything's missing reload provision)
  • Add site path (homestead.test) to /etc/hosts192.168.10.10 hancock.test
  • npm install or see Windows (below) if errors
  • composer install (untested)

Windows:

  • 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 "hancock.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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.