Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djlotus/static-site-generator
Static site generator for vendor sites
https://github.com/djlotus/static-site-generator
Last synced: about 1 month ago
JSON representation
Static site generator for vendor sites
- Host: GitHub
- URL: https://github.com/djlotus/static-site-generator
- Owner: djlotus
- Created: 2015-11-20T21:19:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-29T17:11:33.000Z (9 months ago)
- Last Synced: 2024-03-29T18:23:17.610Z (9 months ago)
- Language: HTML
- Homepage:
- Size: 36.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Static-Site-Generator
Static site generator for vendor sites.
___
## Requirements
In order to use this static site generator you must have installed:### Ruby
- Mac users do not need to do anything for this as Ruby comes installed.
- Windows users will need to install the latest version of [Ruby] (https://www.ruby-lang.org/en/downloads/).
### Node
We use Node.js to manage our package dependencies. Make have the latest version of [Node.js] (https://nodejs.org/en/)
___
## SetupClone the Repo or download the .zip.
From the terminal (or command line in Windows) navigate to your site's directory.```
$ cd My/Site/Directory
```
Initiate Project```
$ npm init
```### Build
Run *install* to download and install dependencies```
$ npm install
```Run *build* to build site
```
$ npm run build
```
___
## Tasks
Once the site is built you can begin editing. We have a default watch task which will perform 3 seperate tasks for compiling the different parts of the site. Alternatively, you can perform individual tasks depending on which part of the site you wish to compile.### Watch
This task will launch a browser window via **browser-sync** and watch for any changes to files and compile all files.```
$ npm run watch
```### HTML
To build the HTML pages we have setup a task called *html*. This task will compile the templates and includes into static HTML pages.```
$ npm run html
```### Sass
To compile the stylesheets we have setup a task called *sass*. This task will compile the .scss files into nested CSS and add vendor prefixes.```
$ npm run sass
```### Scripts
To compile scripts we have setup a task called *scripts*. This task watches for updates to our script files and concatenates them to `dist/js/scripts.js` .```
$ npm run scripts
```
___
## Components to add:
- [x] Tabs
- [x] Accordions
- [x] Block Grid
- [x] Modals
- [X] Number Counter
- [x] Contact form
- [ ] Wordpress feed
- [ ] Testimonials
- [ ] Profiles
- [ ] Full width CTA
- [ ] Heading styles