Giter VIP home page Giter VIP logo

zeronet-boiler's Introduction

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)

zeronet-boiler's People

Contributors

ashotn avatar

Stargazers

Swapnil Shrikhande avatar Paulo Pereira avatar RobertBrownieJr avatar Jona Abdinghoff avatar Wéber Gyula avatar

Watchers

James Cloos avatar  avatar

Forkers

packetlost

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.