|
|
1 tydzień temu | |
|---|---|---|
| .. | ||
| fontello | 1 tydzień temu | |
| less | 1 tydzień temu | |
| Gruntfile.js | 1 tydzień temu | |
| bootstrap.css | 1 tydzień temu | |
| bootstrap.min.css | 1 tydzień temu | |
| bootstrap.min.css.old | 1 tydzień temu | |
| dashboard.css | 1 tydzień temu | |
| desktop-app.css | 1 tydzień temu | |
| fonts.css | 1 tydzień temu | |
| main-preLess.css | 1 tydzień temu | |
| main.css | 1 tydzień temu | |
| main.css.old | 1 tydzień temu | |
| main.old.css | 1 tydzień temu | |
| package.json | 1 tydzień temu | |
| pedals.css | 1 tydzień temu | |
| readme.md | 1 tydzień temu | |
NodeJS and its package manager npm are required to install the dependencies, which are included in package.json. Once you have them installed, simply run:
sudo npm install
On some systems it's required to install grunt-cli, too:
sudo npm install -g grunt-cli
It might happen that the sudo command installs the hidden directory ".npm" not into your users home directory but in /root. If so, just move the folder over to your users home directory and make sure its content and the folder itself belong to your user:
sudo mv /root.npm ~/
sudo chown -R $USER:$USER ~/.npm
On some systems the binary of "nodejs" is called "node". In this case add a link to it:
sudo ln -s /usr/bin/nodejs /usr/bin/node
If everything is set up correctly you should have a working grunt. To use it switch over to the directory this readme is located and run "grunt" in a terminal.
It should watch every .less and .css file inside the less folder and compile into main.css. Ideally, every section should have its .less file. Bootstrap is included in main.less.