Skip to content

Commit

Permalink
Remove bower dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
heralden committed Oct 17, 2019
1 parent 05791db commit d427da5
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 47 deletions.
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ node_modules
/.cljs_node_repl/
/.lein-repl-history
/.lsp/
/figwheel_server.log
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/.*
node_modules
bower_components
resources/public/vendor
test
tests
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ before_script:
- travis_retry lein deps
# check code is well formatted
- lein cljfmt check
# setup dependencies
# setup node dependencies
- npm install
- bower install

script:
# Run unit tests
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,9 @@ When a table first loads it only renders the first page of the query results as

### Initial setup

Once you've checked out this project, you'll need to download the css dependencies using [bower](https://bower.io/). You'll also need npm to run the unit tests. Once you have them both installed, run the following.
If you want to run the unit tests, you'll need Node.js and npm. Once these have been installed, run the following.

```
bower install
npm install
```

Expand Down Expand Up @@ -149,6 +148,8 @@ Wait a bit, then browse to [http://localhost:3448](http://localhost:3448).

### Run tests:

Make sure to first run `npm install` to install the dependencies required to run the unit tests. You can also add `--watch` to the command below to automatically re-run tests when saving files.

```
lein kaocha
```
Expand Down
23 changes: 0 additions & 23 deletions bower.json

This file was deleted.

2 changes: 1 addition & 1 deletion devapproach.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# im-tables 3 dev approach

IM tables 3 is designed to exist standalone or embedded inside another [re-frame](https://github.com/Day8/re-frame) application such as [BlueGenes](https://github.com/intermine/redgenes), InterMine's new UI.
IM tables 3 is designed to exist standalone or embedded inside another [re-frame](https://github.com/Day8/re-frame) application such as [BlueGenes](https://github.com/intermine/bluegenes), InterMine's new UI.

From here on, we're assuming you have familiarity with re-frame.

Expand Down
24 changes: 8 additions & 16 deletions resources/public/index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
<!doctype html>
<html lang="en">
<head>
<meta charset='utf-8'>

<link href="vendor/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.2.3/gridlex.min.css">

<script
src="http://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script src="vendor/bootstrap/dist/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/gridlex/2.2.0/gridlex.min.css">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="css/site.css" rel="stylesheet" type="text/css">
<script src="http://cdn.intermine.org/js/intermine/imjs/3.15.0/im.min.js"></script>




<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">

<meta charset='utf-8'>
<meta content="width=device-width, initial-scale=1" name="viewport">


<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" crossorigin="anonymous"></script>
<script src="http://cdn.intermine.org/js/intermine/imjs/3.15.0/im.min.js"></script>
</head>
<body>
<div id="app"></div>
Expand Down

0 comments on commit d427da5

Please sign in to comment.