Skip to content

AndrewAlva/Smooth-Scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smooth Scroll

Smooth scroll code ready to implement on brunch projects, based on CodePen by Jesper Landberg, more interesting stuff on his CodePen

OG_Brunch

This repo was created from OG_Brunch boilerplate. See more on OG_Brunch repo

Development Environment

Hi there, this project is built by npm and brunch. It's coded oriented to use "modules" and "objects" of HTML and CSS with Jade and SCSS.

Getting to know Brunch

  • Install (if you don't have them):
    • Node.js: brew install node on OS X (and if you have Homebrew, if you don't go or work over Windows or Linux go check directly the documentation at Node)
    • Brunch: npm install -g brunch
    • Brunch plugins and app dependencies: npm install
  • Learn:
    • public/ dir is fully auto-generated and served by HTTP server. Write your code in app/ dir.
    • Place static files you want to be copied from app/assets/ to public/.
    • Brunch site, Getting started guide

Installation of this repo

  1. Clone this repo in your dev environment, you can simply run:
foo@bar:~$ git clone https://github.com/AndrewAlva/Brunch_Sass_Jade_Boilerplate.git
  1. Then install node modules through npm:
foo@bar:~$ npm install

And that's it; now you are able to work on this repo.

Also, you can watch files and compile them live while you're working with this command:

foo@bar:~$ brunch w -s --port 3000

The last number is the port where you'd like to view the page, you can use whatever you want: 8000, 1111, etc. For mor commands visit Brunch documentation.

Get final files for production

When you finish editing the project, you can run this code to get the final assets for production:

foo@bar:~$ brunch build --production

This builds minified files ready to upload to server.

About

Smooth scroll code ready to implement on brunch projects, based on CodePen by Jesper Landberg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Generated from AndrewAlva/OG_Brunch