GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pebblecode/pebblecode.com: pebble {code} site

This repository was archived by the owner on Jan 15, 2020. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

1,203 Commits
1,203 Commits

Folders and files

NameName
Last commit message
Last commit date
dist
dist
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Gruntfile.js
Gruntfile.js
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package.json
package.json
 
 

Repository files navigation

pebble-sites

A grunt project to create the pebble {code} & pebble.it sites

Installation

  1. Install node.js, npm, grunt.js, and Sass.

  2. Install the sass gem

     gem install sass -v 3.3.0.rc.2
    
  3. Install all required packages

     npm i
    
  4. Generate the site (only needed once)

     grunt make
    
  5. Start dev server & tasks

     grunt
    

LiveReload

If you wish to use liveReload you will need to install & activate the relivant browser extension.

Deployment

Before being able to deploy, you will need to setup your environmnet, with

grunt deploy:init

Staging

The staging site is hosted on heroku: http://pebblecode-staging.herokuapp.com/

To push the master branch to staging, run:

grunt deploy:staging

Or if you want a particular branch, run:

grunt deploy:staging --branch branch-name

where branch-name is the branch you want to push.

If there are errors with the push eg, error: failed to push some refs, you can add the --force flag eg,

grunt deploy:staging --force

HTTP passwords

To check the username/password (HTTP_USERNAME/HTTP_PASSWORD respectively)

heroku config --app pebblecode-staging

To change the username/password

heroku config:add HTTP_USERNAME=name --app pebblecode-staging
heroku config:add HTTP_PASSWORD=pass --app pebblecode-staging

Initialisation

It was initialised with

heroku config:add ENV=staging --app pebblecode-staging

Production

The production site is hosted on github pages: http://pebblecode.com/, with files hosted at https://github.com/pebblecode/pebblecode.github.io

The deploy to production, run

grunt deploy:production

By default, it checks for uncommitted files, and won't allow you to proceed unless you commit/stash existing changes. To bypass this, use --force.

The grunt task does the following:

  1. Copies files from dist to temp/production (which is a clone of https://github.com/pebblecode/pebblecode.github.io from grunt deploy:init)
  2. Pushes to the production master branch, which should automatically be deployed to github

About

pebble {code} site

pebblecode.com

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

5 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.