Skip to content

Commit 970fa64

Browse files
author
Julia Elman
committed
Initial commit for basic front end architecture and standard repo needs.
jkfjlkfds
1 parent 2d6a9f3 commit 970fa64

25 files changed

Lines changed: 241 additions & 0 deletions

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Dependency directories
6+
node_modules/
7+
bower_components/
8+
9+
# Mac specific
10+
.DS_Store

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Contributor Guidelines
2+
3+
Want to contribute? Here are a few guidelines to following:
4+
5+
1. Create a branch that lightly defines what you are working on (e.g. adding-styles).
6+
2. Once you are ready to submit a pull request, push your branch up to the repo.
7+
3. Submit your pull request against `master` branch.

LICENSE.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
As a work of the United States Government, this project is in the
2+
public domain within the United States.
3+
4+
Additionally, we waive copyright and related rights in the work
5+
worldwide through the CC0 1.0 Universal public domain dedication.
6+
7+
## CC0 1.0 Universal Summary
8+
9+
This is a human-readable summary of the [Legal Code (read the full text)](https://creativecommons.org/publicdomain/zero/1.0/legalcode).
10+
11+
### No Copyright
12+
13+
The person who associated a work with this deed has dedicated the work to
14+
the public domain by waiving all of his or her rights to the work worldwide
15+
under copyright law, including all related and neighboring rights, to the
16+
extent allowed by law.
17+
18+
You can copy, modify, distribute and perform the work, even for commercial
19+
purposes, all without asking permission.
20+
21+
### Other Information
22+
23+
In no way are the patent or trademark rights of any person affected by CC0,
24+
nor are the rights that other persons may have in the work or in how the
25+
work is used, such as publicity or privacy rights.
26+
27+
Unless expressly stated otherwise, the person who associated a work with
28+
this deed makes no warranties about the work, and disclaims liability for
29+
all uses of the work, to the fullest extent permitted by applicable law.
30+
When using or citing the work, you should not imply endorsement by the
31+
author or the affirmer.

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,41 @@
11
# dotgov-dashboard
22
A dashboard of useful information about .gov domains.
3+
4+
## Prerequisites
5+
6+
1. [node/npm](https://nodejs.org/download/)
7+
2. [bower](http://bower.io/#install-bower)
8+
3. [Chrome LiveReload extension](https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei?hl=en)
9+
10+
## Installation
11+
12+
1) Clone the repo to your desktop.
13+
14+
```bash
15+
$ git clone git@github.com:18F/dotgov-dashboard.git
16+
```
17+
18+
2) Run the following commands to install the necessary packages:
19+
20+
```bash
21+
$ npm install
22+
$ bower install
23+
```
24+
25+
3) Now you should be able to run `gulp` and open the `index.html` file in your favorite browser.
26+
27+
```bash
28+
$ gulp
29+
```
30+
31+
4) You'll now have your `.scss` files auto compile to `main.min.css` using a watch command. LiveReload is also a part of the process, but you'll need to make sure to have the [Chrome LiveReload extension](https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei?hl=en) installed in whatever version of Chrome you are using.
32+
33+
## Public domain
34+
35+
This project is in the public domain within the United States, and
36+
copyright and related rights in the work worldwide are waived through
37+
the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).
38+
39+
All contributions to this project will be released under the CC0
40+
dedication. By submitting a pull request, you are agreeing to comply
41+
with this waiver of copyright interest.

bower.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "dotgov-dashboard",
3+
"version": "0.0.1",
4+
"homepage": "https://github.com/18F/dotgov-dashboard",
5+
"authors": [],
6+
"license": "CC0 1.0 Universal Summary",
7+
"ignore": [
8+
"**/.*",
9+
"node_modules",
10+
"bower_components",
11+
"test",
12+
"tests"
13+
],
14+
"devDependencies": {
15+
"bourbon": "~4.2.2",
16+
"neat": "~1.7.2"
17+
}
18+
}

css/main.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/normalize.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.

gulpfile.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
var gulp = require('gulp'),
2+
sass = require('gulp-sass'),
3+
watch = require('gulp-watch'),
4+
minifycss = require('gulp-minify-css'),
5+
rename = require('gulp-rename'),
6+
livereload = require('gulp-livereload');
7+
8+
gulp.task('sass', function() {
9+
return gulp.src('scss/main.scss')
10+
.pipe(sass())
11+
.pipe(minifycss())
12+
.pipe(rename({suffix: '.min'}))
13+
.pipe(gulp.dest('css'))
14+
.pipe(livereload());
15+
});
16+
17+
gulp.task('watch', function() {
18+
livereload.listen();
19+
gulp.watch('scss/**/*', ['sass']);
20+
gulp.watch('index.html')
21+
.on('change', livereload.changed);
22+
});
23+
24+
gulp.task('default', ['sass', 'watch']);

0 commit comments

Comments
 (0)