Skip to content

A Boiler using Browserify/Gulp/jQuery. Intended for ZeroNet!

Notifications You must be signed in to change notification settings

AshotN/ZeroNet-Boiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZeroNet-Boiler

This boiler can be used as a base for your site. It uses a variety of tools to help you.

  • Babel is used to convert ES6 code to JS
  • Browserify is used to package things like jQuery
  • Gulp is used to take Pug/Stylus files and convet, minify and output them as .html and .css files

###Creating a new site

First download ZeroNet from ZeroNet GitHub Afterwards follow these instructions ZeroNet Site Creation

Once you've secured your private key, navigate to your data folder and find the folder, it should be the same name as your sites address.

Once in it delete everything except the content.json file Proceed to extract everything from this repo in

###Compiling the site If you've never used Gulp before you might enjoy learning about it first.

Run

gulp

It will convert and minify a few files

  • index.pug -> index.html
  • stylus/main.styl -> src/main.css
  • js/ -> src/all.js

That is all, you can now access your site

http://127.0.0.1:43110/(YOUR ADDRESS)

About

A Boiler using Browserify/Gulp/jQuery. Intended for ZeroNet!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published