]> Git — Sourcephile - gargantext.git/blob - app/Main.hs
[FIX] fix offset in query.
[gargantext.git] / app / Main.hs
1 {-# LANGUAGE NoImplicitPrelude #-}
2
3 module Main where
4
5 import Gargantext.Prelude
6 import Gargantext.API (startGargantext)
7 import Text.Read (read)
8 import System.Environment (getArgs)
9
10 main :: IO ()
11 main = do
12 (port:iniFile:_) <- getArgs
13 startGargantext (read port :: Int) iniFile