GitXplorerGitXplorer
r

static-starter

public
0 stars
1 forks
0 issues

Commits

List of commits on branch gh-pages.
Unverified
a84fed6eedb0978b7ad711ea6a27bf76f0ad4f4e

modified workflow

rrubillionaire committed 10 years ago
Unverified
1ed4a23696763b22a50b3be489a5723988bd8f93

languages/ignores

rrubillionaire committed 10 years ago
Unverified
6e022db23fb44180c48a64ab1ff5b5491f590b2a

pivot

rrubillionaire committed 10 years ago
Unverified
be64b6930c66a0b723537f1e822b8e2f85e61c6e

first

rrubillionaire committed 10 years ago

README

The README file for this repository.

static-starter

HTML/CSS/JavaScript starter project. Bundle CSS, and build JavaScript using Browserify.

One Time Install

There are a couple of one time installs. Node for doing the pre-processing/bundling of asset. Github for Mac will be used for version control.

Doing Work

  1. Press the Fork button on the top right of this page.
  2. In your forked copy of the repository, go to Settings and in the text box labelled Repository name, name your repository after your project.
  3. Navigate back to your main repository page, and press the Clone in Desktop button on the right.
  4. In Github for Mac, you will have an entry on the sidebar with the name of your project. Right click > Open in Finder. This is your local copy of the project.
  5. Double click work.command to start the CSS, Javascript pre-processors, as well as a local server for development.
  6. Look to the work.command Terminal window for the URL of your local version website. Something like: localhost:4000
  7. Start making your website.
  8. When you make changes, use the Github application toCommit + Sync them back to your Github repository.

Step 1 only has to be done the first time, to a copy of the repository.

Making your website

Structure. The only HTML included is the index.html. Build any system you'd like by creating more HTML files, and linking to them from your index.html.

Style. Edit the CSS files provided in assets/style/src/. There are a list of included stylesheets. They are numbered by the order that the browser will load them. reset.css and grid.css are provided, and will not need to be touched. type.css, module.css, and theme.css are where you will work. These are all included because they are common ways to divided your styles into reusable components. You can always start by putting all of your styles into one of them, and as you have an idea of where each style should live, move it into its appropriate file. These styles are bundled together into one file, and linked to in the index.html.

grid.css is a copy of the Skeleton CSS grid. Read the website for documentation. There are code examples for each section. We are only using the grid provided, so that will be the most useful section. The code example along with The Grid section shows how to set up a simple layout using grids. The default index.html of this project also has an example you can view and play with.

Script. JavaScript can be added to assets/js/src/index.js. jQuery is already included. If you wanted to include more libraries, you can drop them into assets/js/src/lib/. Scripts in this directory are loaded in alphabetical order. The scripts are bundled into one file, and linked to in the index.html.