Skip to content

Commit f01e3c1

Browse files
authored
Merge pull request #79 from thinreports/fix-logo-in-splash-not-displayed
Fix logo in splash not displayed
2 parents ffae902 + 54f286c commit f01e3c1

4 files changed

Lines changed: 29 additions & 4 deletions

File tree

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM ubuntu:18.04
2+
3+
RUN apt-get update && apt-get install -y curl gnupg2 nodejs npm openjdk-11-jdk-headless python
4+
5+
RUN mkdir /src
6+
WORKDIR /src
7+
8+
CMD ["bash", "-c", "npm i && npm run compile"]

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,22 @@ Run compilation and building on production:
9191
$ npm run release
9292
```
9393

94+
### Compiling using Docker Container
95+
96+
Or if you can use docker, you can compile script and css:
97+
98+
```
99+
$ docker build -t thinreports-editor:latest .
100+
$ docker run --rum -v $PWD:/src thinreports-editor:latest
101+
Compiling JavaScript with SIMPLE_OPTIMIZATIONS...
102+
```
103+
104+
And, launch electron on development:
105+
106+
```
107+
$ npm start
108+
```
109+
94110
## License
95111

96112
Thinreports Editor is licensed under the [GPLv3](https://github.com/thinreports/thinreports-editor/blob/master/GPLv3).

app/assets/splash.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/**
22
* Copyright (C) 2011 Matsukei Co.,Ltd.
3-
*
3+
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by
66
* the Free Software Foundation, either version 3 of the License, or
77
* (at your option) any later version.
8-
*
8+
*
99
* This program is distributed in the hope that it will be useful,
1010
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
* GNU General Public License for more details.
13-
*
13+
*
1414
* You should have received a copy of the GNU General Public License
1515
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
*/
@@ -23,7 +23,7 @@ html.splash {
2323
background-repeat: no-repeat;
2424
background-position: center center;
2525
background-size: 300px;
26-
-webkit-animation-duration: 1.5s;
26+
-webkit-animation-duration: .2s;
2727
-webkit-animation-name: splash-fade-in;
2828
}
2929

0 commit comments

Comments
 (0)