|
2 | 2 |
|
3 | 3 | --- |
4 | 4 |
|
5 | | -Bootstrap table uses [Grunt](http://gruntjs.com/) for its build system, with convenient methods for working with the framework. It's how we compile our code, run tests, and more. |
| 5 | +Bootstrap table usa [Grunt](http://gruntjs.com/) para compilar, con métodos para trabajar en el framework. Asi es como compilamos el código, hacemos pruebas, y más. |
6 | 6 |
|
7 | | -## Installing Grunt |
| 7 | +## Instalando Grunt |
8 | 8 |
|
9 | | -To install Grunt, you must **first** [download and install node.js](http://nodejs.org/download/) (which includes npm). npm stands for [node packaged modules](http://npmjs.org/) and is a way to manage development dependencies through node.js. |
| 9 | +Para instalar Grunt, se debe **primero** [descargar e instalar node.js](http://nodejs.org/download/) (incluye npm). npm significa [node packaged modules](http://npmjs.org/) y es una manera de manejar las dependencias de desarrollo através de node.js. |
10 | 10 |
|
11 | | -Then, from the command line: |
| 11 | +Entonces, en la linea de comandos: |
12 | 12 |
|
13 | | -1. Install `grunt-cli` globally with `npm install -g grunt-cli`. |
14 | | -2. Navigate to the root `/bootstrap-table/` directory, then run `npm install`. npm will look at the `package.json` file and automatically install the necessary local dependencies listed there. |
| 13 | +1. Instalar `grunt-cli` globalmente con `npm install -g grunt-cli`. |
| 14 | +2. Navegue hasta la ruta del folder `/bootstrap-table/`, entonces ejecute `npm install`. npm buscará el archivo `package.json` y automaticamente instalará las dependencias locales necesarias listadas aquí. |
15 | 15 |
|
16 | | -When completed, you'll be able to run the various Grunt commands provided from the command line. |
| 16 | +Cuando esté completo, ya se podrá ejecutar varios comandos de Grunt en la linea de comandos. |
17 | 17 |
|
18 | | -## Available Grunt commands |
| 18 | +## Comandos de Grunt disponibles |
19 | 19 |
|
20 | 20 | ### `grunt dist` (Just compile CSS and JavaScript) |
21 | 21 |
|
22 | | -Regenerates the `/dist/` directory with compiled and minified CSS and JavaScript files. As a Bootstrap user, this is normally the command you want. |
| 22 | +Regenerando el folder `/dist/` con el CSS y JavaScript compilado. Como un usuario de Bootstrap, este es el comando. |
23 | 23 |
|
24 | 24 | ### `grunt test` (Run tests) |
25 | 25 |
|
26 | | -Runs [JSHint](http://jshint.com/) to test our code. |
| 26 | +Ejecute [JSHint](http://jshint.com/) para probar nuestras pruebas. |
27 | 27 |
|
28 | | -### `grunt docs` (Build & test the docs assets) |
| 28 | +### `grunt docs` (Compila y prueba la documentación) |
29 | 29 |
|
30 | | -Builds and tests CSS, JavaScript, and other assets which are used when running the documentation locally via `jekyll serve`. |
| 30 | +Compila y purueba el CSS, JavaScript, y otros artchivos cuando se esta ejecutando la documentación localmente con `jekyll serve`. |
31 | 31 |
|
32 | | -### `grunt` (Build absolutely everything and run tests) |
| 32 | +### `grunt` (Compila absolutamente todo y ejecuta pruebas) |
33 | 33 |
|
34 | | -Compiles and minifies CSS and JavaScript, builds the documentation website, runs the HTML5 validator against the docs, regenerates the Customizer assets, and more. Requires [Jekyll](http://jekyllrb.com/docs/installation/). |
| 34 | +Compila y minifica el CSS y JavaScript, compila la documentación, ejecuta el validador de HTML5 contra la documentación, regenera los archivos customizables, y más. Se requiere [Jekyll](http://jekyllrb.com/docs/installation/). |
35 | 35 |
|
36 | | -## Troubleshooting |
| 36 | +## Solución de problemas |
37 | 37 |
|
38 | | -Should you encounter problems with installing dependencies or running Grunt commands, first delete the `/node_modules/` directory generated by npm. Then, rerun `npm install`. |
| 38 | +Si se encuentran problemas instalando las dependencias o ejecutando los comandos de Grunt, primero elimine el folder `/node_modules/` generado por npm. Entonces, vuelva a ejecutar `npm install`. |
0 commit comments