Giter Club home page Giter Club logo

grasschopper's Introduction


█▀▀▀ █▀▀█ █▀▀█ █▀▀ █▀▀ █▀▀ █░░█ █▀▀█ █▀▀█ █▀▀█ █▀▀ █▀▀█ 
█░▀█ █▄▄▀ █▄▄█ ▀▀█ ▀▀█ █░░ █▀▀█ █░░█ █░░█ █░░█ █▀▀ █▄▄▀ 
▀▀▀▀ ▀░▀▀ ▀░░▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀░░▀ ▀▀▀▀ █▀▀▀ █▀▀▀ ▀▀▀ ▀░▀▀

GrassChopper

About The Project

What is grasschopper? It is an asset compilation tool to use in a development environment, fast and very versatile.

Why use this and not npm? GrassChopper offers a webpack environment with dockerized npm, ready to use, with a web server under https, so that with a resource override plugin you can test your development in real time.

Css, sass, less? all and none, grasschopper combines all stylesheets, use whatever you want.

What do i need to start it? docker, nothing more.

Grasschopper uses webpack and needs a JS entry point, but we don't need to make an entrypoint for each stylesheet, grasschopper will look for all the dependencies and compile them to get a css.

Changes in real time: write styles and update the page, it's that simple.

Start it up, navigate to the prepared css and use a resource override on whatever web you want.

Installation

The project contains webpack within docker so the first time it is only necessary to do a:

docker-compose up --build

Installation will take a few minutes while downloading docker images and installing node dependencies and wake up the web server.

Usage

We will start the project with docker-compose up and then webpack listens for the changes under the src directory If we want to browse the assets we will visit the url with our browser https://localhost:8444/

The first time we will have to agree to enter a non-secure site, since the SSL certificate is self-signed

Another considerations

It is a better option to leave the docker output visible and not use the -d option to be able to see the logs and know if we have a syntax error on compilation

If we add new files or directories, webpack will not see them and will not be able to compile them so it is necessary to restart docker, for example with CTRL + C on console.

grasschopper's People

Contributors

mbiencinto avatar pawboss 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.