Giter Site home page Giter Site logo

kierglover / boltflow.xyz Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 556 KB

A simple Grunt build system to optimise sites exported with Webflow.

Home Page: https://boltflow.xyz/

License: MIT License

JavaScript 100.00%
webflow build-system gruntfile task-runner

boltflow.xyz's Introduction

Boltflow.xzy ๐Ÿ’จ ๐Ÿ–ฅ

Make your static Webflow site even more awesome in just a few minutes.

About this project.

Webflow is a powerful website creation tool that has many great performance boosting features and tips, however when exporting sites to host externally we have the chance to further improve performance. However, setting up a new environment and writing optimization scripts can be time consuming, especially when your site is ready to launch.

With boltflow.xyz you can be be ready to deploy with a few basic commands in your terminal. Your site will be neatly packaged, optimized and ready to deploy anywhere you want.

Let's get started.

There are a couple things you will need to make sure Grunt runs correctly. Firstly make sure you have Node installed. Then test NPM is installed by typing the following in your terminal.

npm -v

Then, export your Webflow site code, unzip it and copy the contents of this Github repository to the Webflow website directory you just unzipped.

To get the repo type the following command.

git clone https://github.com/kierglover/webflow-build-system.git

Up and Running

To get things up and running simply navigate to your website directory using the terminal or command line and install the dependancies with the following.

npm install

Then once everything is installed, run the following command.

grunt

Finishing Touches

Simply run the comman css file to grunt boltflow and watch our system do it's magic! Our website structure will automagically look a little something like this depending on how many pages you have etc.

.
โ”œโ”€โ”€ assets
โ”‚   โ””โ”€โ”€ css
โ”‚   	โ””โ”€โ”€ main.css
โ”‚   โ””โ”€โ”€ js
โ”‚   	โ””โ”€โ”€ scripts.js
โ”œโ”€โ”€ build
โ”‚   โ””โ”€โ”€ css
โ”‚   	โ””โ”€โ”€ main.min.css
โ”‚   โ””โ”€โ”€ js
โ”‚   	โ””โ”€โ”€ scripts.min.js
โ”œโ”€โ”€ css
โ”‚   โ””โ”€โ”€ main.css
โ”‚   โ””โ”€โ”€ normalize.css
โ”‚   โ””โ”€โ”€ webflow.css
โ”œโ”€โ”€ images
โ”‚   โ””โ”€โ”€ ...
โ”œโ”€โ”€ js
โ”‚   โ””โ”€โ”€ webflow.js
โ”œโ”€โ”€ index.html

Final Notes

Just make sure to remove css/normalize.css css/webflow.css and css/<your-project-name.webflow.css> and, like our CSS, remove the js/webflow.js link and any other js files included (i.e js/<your-project-name.webflow.js>.

If you are using an exact clone of this repo make sure update your index.html and any other pages to build/css/main.min.css. Do the same with the javascript file links. Change to build/js/scripts.min.js.

Support Me

Check out my YouTube video tutorial to help you use this system ๐Ÿ‘ Happy coding ๐ŸŽ‰

Feel free to donate to help me spend more time developing and launching sweet tools like this โ˜•๏ธ๐Ÿ™

boltflow.xyz's People

Contributors

kierglover avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.