Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM ubuntu:18.04

RUN apt-get update && apt-get install -y curl gnupg2 nodejs npm openjdk-11-jdk-headless python

RUN mkdir /src
WORKDIR /src

CMD ["bash", "-c", "npm i && npm run compile"]
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,22 @@ Run compilation and building on production:
$ npm run release
```

### Compiling using Docker Container

Or if you can use docker, you can compile script and css:

```
$ docker build -t thinreports-editor:latest .
$ docker run --rum -v $PWD:/src thinreports-editor:latest
Compiling JavaScript with SIMPLE_OPTIMIZATIONS...
```

And, launch electron on development:

```
$ npm start
```

## License

Thinreports Editor is licensed under the [GPLv3](https://github.com/thinreports/thinreports-editor/blob/master/GPLv3).
Expand Down
8 changes: 4 additions & 4 deletions app/assets/splash.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
/**
* Copyright (C) 2011 Matsukei Co.,Ltd.
*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
Expand All @@ -23,7 +23,7 @@ html.splash {
background-repeat: no-repeat;
background-position: center center;
background-size: 300px;
-webkit-animation-duration: 1.5s;
-webkit-animation-duration: .2s;
-webkit-animation-name: splash-fade-in;
}

Expand Down