|
|
@@ -2,37 +2,37 @@
|
|
|
|
|
|
---
|
|
|
|
|
|
-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.
|
|
|
+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.
|
|
|
|
|
|
-## Installing Grunt
|
|
|
+## Instalando Grunt
|
|
|
|
|
|
-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.
|
|
|
+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.
|
|
|
|
|
|
-Then, from the command line:
|
|
|
+Entonces, en la linea de comandos:
|
|
|
|
|
|
-1. Install `grunt-cli` globally with `npm install -g grunt-cli`.
|
|
|
-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.
|
|
|
+1. Instalar `grunt-cli` globalmente con `npm install -g grunt-cli`.
|
|
|
+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í.
|
|
|
|
|
|
-When completed, you'll be able to run the various Grunt commands provided from the command line.
|
|
|
+Cuando esté completo, ya se podrá ejecutar varios comandos de Grunt en la linea de comandos.
|
|
|
|
|
|
-## Available Grunt commands
|
|
|
+## Comandos de Grunt disponibles
|
|
|
|
|
|
### `grunt dist` (Just compile CSS and JavaScript)
|
|
|
|
|
|
-Regenerates the `/dist/` directory with compiled and minified CSS and JavaScript files. As a Bootstrap user, this is normally the command you want.
|
|
|
+Regenerando el folder `/dist/` con el CSS y JavaScript compilado. Como un usuario de Bootstrap, este es el comando.
|
|
|
|
|
|
### `grunt test` (Run tests)
|
|
|
|
|
|
-Runs [JSHint](http://jshint.com/) to test our code.
|
|
|
+Ejecute [JSHint](http://jshint.com/) para probar nuestras pruebas.
|
|
|
|
|
|
-### `grunt docs` (Build & test the docs assets)
|
|
|
+### `grunt docs` (Compila y prueba la documentación)
|
|
|
|
|
|
-Builds and tests CSS, JavaScript, and other assets which are used when running the documentation locally via `jekyll serve`.
|
|
|
+Compila y purueba el CSS, JavaScript, y otros artchivos cuando se esta ejecutando la documentación localmente con `jekyll serve`.
|
|
|
|
|
|
-### `grunt` (Build absolutely everything and run tests)
|
|
|
+### `grunt` (Compila absolutamente todo y ejecuta pruebas)
|
|
|
|
|
|
-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/).
|
|
|
+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/).
|
|
|
|
|
|
-## Troubleshooting
|
|
|
+## Solución de problemas
|
|
|
|
|
|
-Should you encounter problems with installing dependencies or running Grunt commands, first delete the `/node_modules/` directory generated by npm. Then, rerun `npm install`.
|
|
|
+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`.
|