Skip to content

drawsgood/drawsgood.github.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

NOTE: For development, always work out of the "source" branch, never, ever touch "master".

  1. Clone the repo, install the dependencies, and start the preview server.

    git clone [email protected]:drawsgood/drawsgood.github.com.git
    git checkout source
    npm install
    npm run-script preview
  2. Visit http://localhost:8080/ in your browser.

  3. Make changes to ./contents/some-path/index.md and refresh the page. You can add more pages like http://drawsgood.github.io/some-design by making a folder ./contents/some-design and an index.md file inside of it. Then when you run it locally, you will need to visit http://localhost:8080/some-design/ (note the trailing forward slash for local development, Github automatically appends this).

  4. You can also edit ./templates/layout.jade for HTML changes using the Jade template engine.

  1. Make CSS changes using LESS or plain CSS by editing files in the ./contents/css folder.

  2. Add images in the ./contents/img/ folder and fonts in the ./contents/font/ folder.

  3. When you're ready to deploy your changes:

    git add .
    git commit -m 'I made some changes'
    git push origin source
    npm run-script deploy
  4. This will automatically build the site, and then deploy it to the master branch.

  5. Visit your website hosted with Github Pages at http://drawsgood.github.io.

Support

If you run into issues please contact [email protected].

About

Drawsgood website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published