Skip to content

Commit

Permalink
Merge pull request #285 from Pixilib/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
salimkanoun authored Jul 29, 2021
2 parents ac0b64f + c545152 commit 575089d
Show file tree
Hide file tree
Showing 90 changed files with 16 additions and 425,660 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
FROM node:14.15.4 as ohif
RUN apt-get update -qy && \
apt-get install -y --no-install-recommends apt-utils\
git
WORKDIR /ohif
RUN git clone --depth 1 --branch @ohif/viewer@4.9.21 https://github.com/OHIF/Viewers.git
RUN cd Viewers && yarn install && QUICK_BUILD=true PUBLIC_URL=/ohif/ yarn build
RUN rm /ohif/Viewers/platform/viewer/dist/app-config.js

FROM php:7.4.1-apache

ENV COMPOSER_ALLOW_SUPERUSER=1
Expand Down Expand Up @@ -39,6 +48,7 @@ RUN a2enmod remoteip
RUN a2enconf gaelo-app

COPY --chown=www-data:www-data src .
COPY --from=ohif --chown=www-data:www-data /ohif/Viewers/platform/viewer/dist ./ohif/
RUN composer install --no-dev

RUN service apache2 restart
Expand Down
4 changes: 2 additions & 2 deletions src/includes/jsLibrairies.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.1.0/papaparse.min.js"></script>

<!-- GaelO Uploader -->
<script src="https://unpkg.com/gaelo-uploader@3.1.9/dist/bundle.js"></script>
<link rel="stylesheet" href="https://unpkg.com/gaelo-uploader@3.1.9/dist/main.css">
<script src="https://unpkg.com/gaelo-uploader@3.1.10/dist/bundle.js"></script>
<link rel="stylesheet" href="https://unpkg.com/gaelo-uploader@3.1.10/dist/main.css">

<script type="text/javascript" src="assets/javascripts/gaelO.js" ></script>
<link rel="stylesheet" href="assets/css/gaelO-specific.css">
Expand Down
4 changes: 2 additions & 2 deletions src/includes/jsLibrairies_main.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.1.0/papaparse.min.js"></script>

<!-- GaelO Uploader -->
<script src="https://unpkg.com/gaelo-uploader@3.1.9/dist/bundle.js"></script>
<link rel="stylesheet" href="https://unpkg.com/gaelo-uploader@3.1.9/dist/main.css">
<script src="https://unpkg.com/gaelo-uploader@3.1.10/dist/bundle.js"></script>
<link rel="stylesheet" href="https://unpkg.com/gaelo-uploader@3.1.10/dist/main.css">

<!-- GaelO CSS -->
<?php $uploaderVersion="3.7"?>
Expand Down
2 changes: 1 addition & 1 deletion src/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @package GaelO
* @author Salim Kanoun <Salim.Kanoun@gmail.com>
*/
define('GAELO_VERSION', '1.5.1');
define('GAELO_VERSION', '1.5.4');
header('content-type: text/html; charset=utf-8');
require_once('vendor/autoload.php');
require 'router.php';
Empty file modified src/ohif/.htaccess
100755 → 100644
Empty file.
125 changes: 0 additions & 125 deletions src/ohif/0.bcb85f92d7276787be1e.css

This file was deleted.

7 changes: 0 additions & 7 deletions src/ohif/1.bcb85f92d7276787be1e.css

This file was deleted.

Loading

0 comments on commit 575089d

Please sign in to comment.