Giter VIP home page Giter VIP logo

turbo-hipster's Introduction

turbo-hipster

Running the site for devlopment (Windows) (Works for Linux/OS X too)

Install git, VirtualBox, Vagrant. Then from git project folder:

vagrant up
vagrant ssh
cd /vagrant
jekyll serve -w

Running the site for development (Linux and OS X)

Make sure ruby and nodejs is installed. Then from the git project folder, do: gem install rmagick gem install jekyll bundle install

then:

jekyll serve -w

Adding a New Project

Setting Up the Production Server

Helpful Commands

To check status in github powershell:

git status -s

To update:

git pull

To make changes:

git status -s
git add filename				// Variations for making changes
git commit -m "comment here"	//
git push

Shortcut for updating old files:

Replace above variation // with
git commit -a -m "comment here"

Shortcut for adding all files in a folder:

Replace above variation // with
git add foldername/*
git commit -m "comment here"

example:
git add images/pipettebot/*
git commit -m "Adds all files in local repository in images/pipettebot/ to main branch online"

Enabling a Sidebar for a page

Page Name
=========

<div class="col-sm-4">
	<ul class="nav nav-pills nav-stacked">
		{% sidebar "content1", "Content 1" %}

		{% sidebar "content2", "Content 2" %}

		{% sidebar "content3", "Content 3" %}
	</ul>
</div>


<div id="content1" class="sidebar-content col-sm-8">
	<h1>Content 1</h1>
	<p>text</p>
</div>

<div id="content2" class="sidebar-content col-sm-8">
	<h1>Content 2</h1>
	<p>text2</p>
</div>

<div id="content3" class="sidebar-content col-sm-8">
	<h1>Content 3</h1>
	<p>text3</p>
</div>

Pushing to the FTP server

(only works on Mac/Linux & must have lftp installed. The vagrant image has this installed)

cd into the project folder ./upload.sh

Username & FTP server is set in the deploy.x file

Using Git GUI

Use the folder where the repository is held from github

Click rescan button to check if any new changes have been made
Click files you want to change in the unstaged changes section and press stage changed button
Then after selecting all desired files press commit button
Then press push button to make changes to the main repository

References

turbo-hipster's People

Contributors

bigshahan avatar honestykim avatar jacobschmidt avatar thangnguyen2010 avatar

Watchers

 avatar  avatar  avatar

Forkers

jacobschmidt

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.