Skip to content

Commit 817c698

Browse files
Create README.md
1 parent 28e8ee0 commit 817c698

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

README.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Bootstrap Cards
2+
— *Bootstrap template implementing card-based design.*
3+
4+
## How to Install
5+
6+
### Default *Bootstrap Cards*
7+
8+
1. Download this repo.
9+
2. Navigate to the `dist/` folder on Terminal.
10+
3. Install all the Bower dependencies using `bower install`.
11+
4. Copy the contents of `dist/` to your project folder.
12+
13+
### Customising *Bootstrap Cards*
14+
15+
#### Setup
16+
17+
1. Download this repo.
18+
2. Install Gulp globally using `npm install -g gulp-cli`.
19+
3. Install the Node.js modules needed in this project using `npm install`.
20+
4. Navigate to `dist/` and install all the Bower dependencies using `bower install`.
21+
22+
#### Writing Code
23+
24+
1. Navigate to this repo and run `gulp`. This will serve the files in `dist/` through a local web server and take care of JS linting, Sass compilation and refreshing the browser when any changes are made.
25+
2. To change the CSS, edit the Sass code inside `src/sass/`.
26+
3. To change the JS, edit the JS code inside `src/js/`.
27+
28+
#### Contents of Source Folder & Gulp Tasks
29+
```
30+
| - src/
31+
| | - img/
32+
| | - js/
33+
| | - sass/
34+
| | | - layout/
35+
| | | - pages/
36+
| | | - utils/
37+
| | | - main.scss
38+
| | - index.html
39+
```
40+
41+
- `src/img/`: Contains all images. Gulp copies them over to `dist/img/`.
42+
- `src/js/`: Contains all custom JavaScript files. Gulp lints them and then copies them over to `dist/js/`.
43+
- `src/sass/`: Contains all custom styles. Gulp lints them and then compiles `main.scss` into `dist/css/cards.css`.
44+
- `src/*.html`: Gulp copies them over to `dist/`.
45+
46+
##### Sass Files
47+
- `sass/layout/`: Contains styles for the navbar and footer.
48+
- `sass/pages/`: Contains page-specific styles.
49+
- `sass/utils/`: Contains globally used variables, mixins & styles.
50+
- `sass/main.scss`: Imports all the necessary Sass files.
51+
52+
## Bower Components
53+
54+
Listed below are all the Bower components used in *Bootstrap Cards*. The ones in **bold** are necessary while the others are optional.
55+
56+
- **Normalize.css** ([https://necolas.github.io/normalize.css/](https://necolas.github.io/normalize.css/))
57+
- **jQuery** ([https://jquery.com/](https://jquery.com/))
58+
- **Bootstrap** ([http://getbootstrap.com/](http://getbootstrap.com/))
59+
- Font Awesome ([http://fontawesome.io/](http://fontawesome.io/))
60+
- Animate.css ([https://daneden.github.io/animate.css/](https://daneden.github.io/animate.css/))
61+
- wow.js ([http://mynameismatthieu.com/WOW/](http://mynameismatthieu.com/WOW/))
62+
- jQuery Easing Plugin ([https://github.com/gdsmith/jquery.easing](https://github.com/gdsmith/jquery.easing))
63+
64+
## To-Do
65+
- [ ] Main Blog Page
66+
- [ ] Blog Post Page

0 commit comments

Comments
 (0)