calcite-bootstrap
Advanced tools
Comparing version 0.4.0-alpha.1 to 0.4.0-alpha.2
@@ -11,3 +11,3 @@ # Calcite Bootstrap CHANGELOG | ||
- removed doc generation from this repo | ||
- simplified build process to use *just* npm scripts | ||
- simplified build process to use *just* npm scripts | ||
@@ -14,0 +14,0 @@ ## 0.3.4 |
{ | ||
"name": "calcite-bootstrap", | ||
"version": "0.4.0-alpha.1", | ||
"version": "0.4.0-alpha.2", | ||
"description": "Calcite Theme for Bootstrap 3.x", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -20,2 +20,3 @@ # Calcite Bootstrap | ||
## Static Files | ||
@@ -72,21 +73,17 @@ | ||
### Install Dependencies | ||
Calcite-Boostrap has these main dependencies. | ||
Calcite-Boostrap has these main dependencies: | ||
- Xcode Command Line Tools (for Git) | ||
- Node.js | ||
- Grunt | ||
- Bower | ||
- Sass | ||
- node.js | ||
- gulp | ||
1. Open Terminal (or your favorite command line tool. For OSX, I recommend iTerm) and check to see if you have Git installed just by entering `$ git`. You should see a list of commands for git if it is. If Git is not installed, OSX will automatically prompt you to install the XCode Command Line Developers Tools. Follow the prompts to complete the install. | ||
2. Visit [nodejs.org](http://nodejs.org/) to install Node. Check the install by entering `$ node -v` in Terminal | ||
3. Install Grunt by entering `$ npm install -g grunt-cli` in Terminal. | ||
4. Install Bower by entering `$ npm install -g bower` in Terminal. | ||
5. Install SASS by entering `$ gem install sass` in Terminal. | ||
3. Install Grunt by entering `$ npm install -g gulp` in Terminal. | ||
If you run into errors during the installs, Mac Users my want to try using `sudo`. For example: | ||
`$ sudo npm install -g grunt-cli` or `$ sudo gem install sass` | ||
`$ sudo npm install -g gulp` | ||
@@ -104,7 +101,6 @@ ### Fork the Repository | ||
1. Install npm modules: `$ npm install` | ||
2. Install bower components: `$ bower install` | ||
Again, if you run into errors during, Mac Users my want to try using `sudo`. | ||
When the installs complete run `$ grunt` to start the application. Open a new browser and navigate to `http://localhost:8888`. | ||
When the installs complete run `$ gulp serve` to start the application. Open a new browser and navigate to `http://localhost:9000`. | ||
@@ -128,40 +124,5 @@ ### Git Remote | ||
## Troubleshooting | ||
When running `$ bower install` if you get an error stating `unable to connect to gihub.com` you will need to run the following command: `git config --global url."https://".insteadOf git://` | ||
If the above doesn't work, try manually modifying the `.git-config` file under your user directory (note: it is a hidden file). | ||
``` | ||
[url "https://"] | ||
insteadOf = git:// | ||
``` | ||
[link to stackoverflow](http://stackoverflow.com/questions/27417175/bower-install-libraries-issues) | ||
You might also want to try installing `sudo npm install -g n` and `sudo npm install -g nvm` | ||
## Development | ||
To run a development environment, just type `$ grunt`. You should have a copy of the documentation site live at [localhost:8888](http://localhost:8888). | ||
### Common Tasks | ||
- `$ grunt` - [default] builds and then serves up local environment at localhost:8888 (includes watch for updated files) | ||
- `$ grunt serve` - serves local environment at localhost:8888 (no build) | ||
- `$ grunt build` - builds local environment only (no localhost) | ||
- `$ grunt release` - creates `calcite-bootstrap.zip` file for release in root directory | ||
- `$ grunt publish` - publishes new release candidate to Amazon S3 (requires credentials) | ||
## Doing the git dance | ||
Please use the practice of creating a new branch for the the task you are working on | ||
`$ git checkout -b my-new-feature` | ||
Once you are ready to commit, please ensure you have added your changes to CHANGELOG.md, and then push the changes to your fork. | ||
`$ git push origin my-new-feature` | ||
Then go to the main repo page and click the button to create a Pull Request. | ||
### Releasing to NPM | ||
@@ -168,0 +129,0 @@ To prepare a release, you need an NPM account (npmjs.org), and need to be running on a mac or linux. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10
0
29744
153