Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
purescript-gargantext
Commits
dd719a05
Commit
dd719a05
authored
Feb 25, 2023
by
Fabien Manière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
link to frontend readme
parent
aabb4c02
Pipeline
#3691
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
7 deletions
+23
-7
README.md
README.md
+23
-7
No files found.
README.md
View file @
dd719a05
<div
align=
"center"
><img
height=
"180"
src=
"https://gitlab.iscpif.fr/gargantext/main/images/logo.png"
></div>
<div
align=
"center"
><img
height=
"180"
src=
"https://gitlab.iscpif.fr/gargantext/main/
raw/master/
images/logo.png"
></div>
# Gargantext with Purescript (FrontEnd instance)
# Gargantext with Purescript (FrontEnd instance)
![
Purescript
](
https://img.shields.io/badge/Code-Purescript-informational?style=flat&logo=purescript&color=1d222d
)
![N
PM](https://img.shields.io/badge/Tools-npm-informational?style=flat
&logo=npm&color=red)
![Yarn](https://img.shields.io/badge/Tools-Yarn-informational?style=flat
&logo=yarn&color=2188b6)
![React](https://img.shields.io/badge/Code-React-informational?style=flat
&logo=react&color=61DAFB)
![HTML](https://img.shields.io/badge/Code-HTML-informational?style=flat
&logo=html5&color=E44D26)
![CSS](https://img.shields.io/badge/Style-CSS-informational?style=flat
&logo=css3&color=264EE4)
![Bootstrap](https://img.shields.io/badge/Style-Bootstrap-informational?style=flat
&logo=bootstrap&color=6528e0)
![Sass](https://img.shields.io/badge/Tools-Sass-informational?style=flat
&logo=sass&color=bf4080)
![Python](https://img.shields.io/badge/Tools-Python-informational?style=flat
&logo=python&color=ffd343)
![NixOs](https://img.shields.io/badge/Package%20manager-NixOs-informational?style=flat
&logo=debian&color=6586c8
)
![
Docker
](
https://img.shields.io/badge/Tools-Docker-informational?style=flat&logo=docker&color=003f8c
)
![
Purescript
](
https://img.shields.io/badge/Code-Purescript-informational?style=flat&logo=purescript&color=1d222d
)
![N
ix](https://img.shields.io/badge/Package%20manager-Nix-informational?style=flat
&logo=debian&color=6586c8)
![NPM](https://img.shields.io/badge/Tools-npm-informational?style=flat
&logo=npm&color=red)
![Yarn](https://img.shields.io/badge/Tools-Yarn-informational?style=flat
&logo=yarn&color=2188b6)
![React](https://img.shields.io/badge/Code-React-informational?style=flat
&logo=react&color=61DAFB)
![HTML](https://img.shields.io/badge/Code-HTML-informational?style=flat
&logo=html5&color=E44D26)
![CSS](https://img.shields.io/badge/Style-CSS-informational?style=flat
&logo=css3&color=264EE4)
![Bootstrap](https://img.shields.io/badge/Style-Bootstrap-informational?style=flat
&logo=bootstrap&color=6528e0)
![Sass](https://img.shields.io/badge/Tools-Sass-informational?style=flat
&logo=sass&color=bf4080)
![Python](https://img.shields.io/badge/Tools-Python-informational?style=flat
&logo=python&color=ffd343
)
![
Docker
](
https://img.shields.io/badge/Tools-Docker-informational?style=flat&logo=docker&color=003f8c
)
#### Table of Contents
1.
[
About the project
](
#about
)
2.
[
Getting set up
](
#setup
)
3.
[
Develoment
](
#dev
)
## About the project
## About the project
<a name="about"></a>
GarganText is a collaborative web-decentralized-based macro-service
GarganText is a collaborative web-decentralized-based macro-service
platform for the exploration of unstructured texts. It combines tools
platform for the exploration of unstructured texts. It combines tools
...
@@ -25,7 +29,7 @@ frontend for the backend server built by
...
@@ -25,7 +29,7 @@ frontend for the backend server built by
[
backend
](
https://gitlab.iscpif.fr/gargantext/haskell-gargantext
)
.
[
backend
](
https://gitlab.iscpif.fr/gargantext/haskell-gargantext
)
.
## Getting set up
## Getting set up
<a name="setup"></a>
**Prerequisite:**
clone the project.
**Prerequisite:**
clone the project.
...
@@ -78,13 +82,25 @@ docker compose build frontend
...
@@ -78,13 +82,25 @@ docker compose build frontend
That's it, skip ahead to "Development".
That's it, skip ahead to "Development".
## Development
## Development
<a name="dev"></a>
#### Server
Just serve dist/index.html with any server and you are ready to be
Just serve dist/index.html with any server and you are ready to be
connected to any backend.
connected to any backend.
For instance you can serve it:
For instance you can serve it:
```
```
cd dist/ && python3 -mhttp.server
cd dist/ && python3 -mhttp.server
```
```
#### Frontend compilation
To see Purescript updates, we have to rebuild:
```
shell
nix-shell
--run
build
```
To compile CSS (Sass):
```
shell
nix-shell
--run
"yarn css"
```
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