Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Przemyslaw Kaminski
haskell-gargantext
Commits
489564b1
Commit
489564b1
authored
Apr 27, 2022
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Plain Diff
[FEAT] CodeBook docker fix
parents
8371a249
4d5dbd0b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
10 deletions
+40
-10
Dockerfile-ihaskell
devops/docker/Dockerfile-ihaskell
+31
-0
gargantext.cabal
gargantext.cabal
+3
-2
pkgs.nix
nix/pkgs.nix
+1
-0
package.yaml
package.yaml
+1
-0
Node.hs
src/Gargantext/Database/Action/Node.hs
+3
-1
Frame.hs
src/Gargantext/Database/Admin/Types/Hyperdata/Frame.hs
+0
-7
stack.yaml
stack.yaml
+1
-0
No files found.
devops/docker/Dockerfile-ihaskell
0 → 100644
View file @
489564b1
FROM gibiansky/ihaskell
USER 0
# gargantext stuff
RUN apt-get update && \
apt-get install -y libblas-dev \
libbz2-dev \
libcairo2-dev \
libgsl-dev \
liblapack-dev \
liblzma-dev \
libmagic-dev \
libpq-dev \
librust-pangocairo-dev \
lzma-dev \
libzmq3-dev \
pkg-config && \
rm -rf /var/lib/apt/lists/*
# ADD . /home/joyvan/src
# RUN chown -R 1000 /home/joyvan/src
USER 1000
# WORKDIR /home/joyvan/src
# RUN stack install --fast
#CMD ["jupyter", "notebook", "--ip", "0.0.0.0"]
CMD ["stack", "exec", "jupyter", "--", "notebook", "--ip", "0.0.0.0"]
gargantext.cabal
View file @
489564b1
cabal-version:
0.0.5.8.7.1
cabal-version:
1.12
-- This file has been generated from package.yaml by hpack version 0.34.4.
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
--
-- see: https://github.com/sol/hpack
-- see: https://github.com/sol/hpack
name: gargantext
name: gargantext
version:
0.0.5.8.7.1
version:
0.0.5.8.6
synopsis: Search, map, share
synopsis: Search, map, share
description: Please see README.md
description: Please see README.md
category: Data
category: Data
...
@@ -398,6 +398,7 @@ library
...
@@ -398,6 +398,7 @@ library
, http-media
, http-media
, http-types
, http-types
, hxt
, hxt
, ihaskell
, ini
, ini
, insert-ordered-containers
, insert-ordered-containers
, jose
, jose
...
...
nix/pkgs.nix
View file @
489564b1
...
@@ -9,6 +9,7 @@ rec {
...
@@ -9,6 +9,7 @@ rec {
];
];
nonhsBuildInputs
=
with
pkgs
;
[
nonhsBuildInputs
=
with
pkgs
;
[
bzip2
bzip2
czmq
docker-compose
docker-compose
git
git
gmp
gmp
...
...
package.yaml
View file @
489564b1
...
@@ -187,6 +187,7 @@ library:
...
@@ -187,6 +187,7 @@ library:
-
http-media
-
http-media
-
http-types
-
http-types
-
hxt
-
hxt
-
ihaskell
-
ini
-
ini
-
insert-ordered-containers
-
insert-ordered-containers
-
jose
-
jose
...
...
src/Gargantext/Database/Action/Node.hs
View file @
489564b1
...
@@ -86,7 +86,9 @@ mkNodeWithParent_ConfigureHyperdata NodeFrameVisio (Just i) uId name =
...
@@ -86,7 +86,9 @@ mkNodeWithParent_ConfigureHyperdata NodeFrameVisio (Just i) uId name =
mkNodeWithParent_ConfigureHyperdata'
NodeFrameVisio
(
Just
i
)
uId
name
mkNodeWithParent_ConfigureHyperdata'
NodeFrameVisio
(
Just
i
)
uId
name
mkNodeWithParent_ConfigureHyperdata
NodeFrameNotebook
(
Just
i
)
uId
name
=
mkNodeWithParent_ConfigureHyperdata
NodeFrameNotebook
(
Just
i
)
uId
name
=
insertNode
NodeFrameNotebook
(
Just
"Notebook"
)
(
Just
$
DefaultFrameCode
$
HyperdataFrame
"Codebook"
name
)
i
uId
insertNode
NodeFrameNotebook
(
Just
"Notebook"
)
(
Just
$
DefaultFrameCode
$
HyperdataFrame
{
_hf_base
=
"Codebook"
,
_hf_frame_id
=
name
})
i
uId
mkNodeWithParent_ConfigureHyperdata
_
_
_
_
=
nodeError
NotImplYet
mkNodeWithParent_ConfigureHyperdata
_
_
_
_
=
nodeError
NotImplYet
...
...
src/Gargantext/Database/Admin/Types/Hyperdata/Frame.hs
View file @
489564b1
...
@@ -9,13 +9,6 @@ Portability : POSIX
...
@@ -9,13 +9,6 @@ Portability : POSIX
-}
-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TemplateHaskell #-}
module
Gargantext.Database.Admin.Types.Hyperdata.Frame
module
Gargantext.Database.Admin.Types.Hyperdata.Frame
...
...
stack.yaml
View file @
489564b1
...
@@ -5,6 +5,7 @@ extra-package-dbs: []
...
@@ -5,6 +5,7 @@ extra-package-dbs: []
skip-ghc-check
:
true
skip-ghc-check
:
true
packages
:
packages
:
-
.
-
.
#- 'deps/gargantext-graph'
#- 'deps/gargantext-graph'
#- 'deps/haskell-opaleye'
#- 'deps/haskell-opaleye'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment