# Basket
Frontend of a basket for products.
Current features:
Instruction of modules:
DONT FORGET TO ISTALL RUBYGEMS AND JEKYLL ON YOUR PC! It is a must have for jekyll.
RubyGems: https://rubygems.org/pages/download
jekyll: gem install jekyll bundler
DONT FORGET TO CHANGE THE RUBYGEMS DIRECTORY IN GULPFILE AFTER YOU SETUP A NEW PROJECT OR GULPFILE WAS UPDATED!
git clone this repo
execute
npm i
bower install
npm start
or just gulp
git clone the project repo
on first run: npm i
npm update
(only on needed)
npm run clean
(only on pull new data from git repo)
npm start
or just gulp
npm run clean
npm run build
* _site (compiled files for development)
* assets
* node_modules (think this is clear)
(do not modify files directly in these folders )
The Folders .sass-cache
, assets
, _site
, bower_components
and node_modules
are automatically generated and should be never in a Repository.
The generated Files in src
should be have no dependences. So that they can upload to a server or sended to a backend developer, without breaking the functionality or styling or whatever.
For Frontend Development is the Folder _site
, there you will have help tools like sourcemaps, linting/hinting or tests.
npm start
: Start the project alias of gulp
npm run dev
: Start the project alias of gulp
npm run build
: Compiles the Source to the build Folder
npm run clean
: Deletes the "dev" and "build Folder"
gulp
: Complies the sources and start the watcher
gulp build --build
: Compiles the Source to the build Folder
gulp clean
: deletes the "dev" folder
gulp clean --build
: deletes the "build" folder