Skip to content

Dinkers/Static-Site-Builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static Site Builder

A tool to automate the creation of a static site and the implementation of development tools.

Workflow

The static site uses Bootstrap, specifically the grid system to achieve a simple responsive single column site.

The builder also installs effective development tools. Browsersync offers a lot of testing functionality; especially useful is the ability to view the website over multiple devices over the local network. Contrib sass compiles Sass to CSS, and when combined with Contrib watch, the compilation happens automatically on save. Additionally, the site is automatically reloaded whenever any changes are saved.

Operational use

Please ensure an empty git repository has been created prior to running the static site builder to use git functionality.

First download the code locally:

git clone https://github.com/Dinkers/Static-Site-Builder.git

Then run the make script with bash:

bash make.sh

Then fill out the interactive prompt:

Project name: Static Site Builder Marketing
Author: Kayra Alat
Directory to build in: sites
Github repository url: https://github.com/Dinkers/Static-Site-Builder-Marketing.git

The Github repository url is optional, and can be left blank.


Once the script has been run, the provided git repository will have an initial commit containing the built site, git will be configured locally, and a local development server will be running on http://localhost:3000.

The local development server can be started with the following command in the root folder of the website:

grunt

The server can be stopped by pressing ctrl+c on the keyboard.

File Structure

- index.html
- gruntfile.js
- package.json
- README.md
- js/
	- main.js
- styles/
	- css/
	- sass/
		- styles.sass
- assets/
	- fonts/
	- images/

About

A tool to automate the creation of a static site and the implementation of development tools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published