Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
160
Issues
160
List
Board
Labels
Milestones
Merge Requests
14
Merge Requests
14
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
gargantext
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.
--
-- see: https://github.com/sol/hpack
name: gargantext
version:
0.0.5.8.7.1
version:
0.0.5.8.6
synopsis: Search, map, share
description: Please see README.md
category: Data
...
...
@@ -398,6 +398,7 @@ library
, http-media
, http-types
, hxt
, ihaskell
, ini
, insert-ordered-containers
, jose
...
...
nix/pkgs.nix
View file @
489564b1
...
...
@@ -9,6 +9,7 @@ rec {
];
nonhsBuildInputs
=
with
pkgs
;
[
bzip2
czmq
docker-compose
git
gmp
...
...
package.yaml
View file @
489564b1
...
...
@@ -187,6 +187,7 @@ library:
-
http-media
-
http-types
-
hxt
-
ihaskell
-
ini
-
insert-ordered-containers
-
jose
...
...
src/Gargantext/Database/Action/Node.hs
View file @
489564b1
...
...
@@ -86,7 +86,9 @@ mkNodeWithParent_ConfigureHyperdata NodeFrameVisio (Just i) uId name =
mkNodeWithParent_ConfigureHyperdata'
NodeFrameVisio
(
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
...
...
src/Gargantext/Database/Admin/Types/Hyperdata/Frame.hs
View file @
489564b1
...
...
@@ -9,13 +9,6 @@ Portability : POSIX
-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
module
Gargantext.Database.Admin.Types.Hyperdata.Frame
...
...
stack.yaml
View file @
489564b1
...
...
@@ -5,6 +5,7 @@ extra-package-dbs: []
skip-ghc-check
:
true
packages
:
-
.
#- 'deps/gargantext-graph'
#- '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