Permalink
Browse files

Remove reference to bower

  • Loading branch information...
m0g committed Jan 26, 2017
1 parent aedf356 commit 21ed9d5ae6664208f7ad582adf4ad4dd5afa70a7
Showing with 3 additions and 10 deletions.
  1. +1 −3 Dockerfile
  2. +1 −2 README.md
  3. +0 −1 client/.gitignore
  4. +1 −4 client/Dockerfile-dev
@@ -15,7 +15,7 @@ curl libfontconfig nodejs npm nginx \
&& ln --symbolic /usr/bin/nodejs /usr/bin/node
RUN npm install -g npm
RUN npm -g install grunt-cli bower
RUN npm -g install grunt-cli
# Set the locale
RUN locale-gen en_US.UTF-8
@@ -49,8 +49,6 @@ RUN cd /tmp && pip3 install -U -r /tmp/requirements.txt
# install client dependencies
COPY ./client/package.json /opt/superdesk/client/
RUN cd ./client && npm install
COPY ./client/bower.json /opt/superdesk/client/
COPY ./client/.bowerrc /opt/superdesk/client/
# copy server sources
COPY ./server /opt/superdesk
@@ -57,7 +57,7 @@ curl libfontconfig virtualenv
Install the required npm tools:
```bash
sudo npm install -g grunt-cli bower
sudo npm install -g grunt-cli
```
#### Configure the server
@@ -106,7 +106,6 @@ Now we can install the dependencies for the client
```bash
cd client
npm install
bower install
```
We can now run the client server:
@@ -6,7 +6,6 @@ dist
*.swp
.tmp
.sass-cache
app/scripts/bower_components
app/styles/css/bootstrap.css
po/
report/
@@ -4,7 +4,7 @@ FROM dockerfile/nodejs
# install system-wide dependencies
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y libfreetype6 libfontconfig && \
npm -g install grunt-cli bower
npm -g install grunt-cli
# setup the environment
WORKDIR /opt/superdesk-client/
@@ -14,9 +14,6 @@ CMD ["grunt"]
# install app-wide dependencies
COPY ./package.json /opt/superdesk-client/
RUN npm install
COPY ./bower.json /opt/superdesk-client/
COPY ./.bowerrc /opt/superdesk-client/
RUN bower --allow-root install
# copy sources
COPY . /opt/superdesk-client

0 comments on commit 21ed9d5

Please sign in to comment.