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
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
Grégoire Locqueville
purescript-gargantext
Commits
8024a046
Commit
8024a046
authored
Nov 09, 2021
by
Karen Konou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[build] fix docker build
parent
143e9929
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
10 deletions
+4
-10
Dockerfile.dev
Dockerfile.dev
+1
-0
README.md
README.md
+2
-10
package.json
package.json
+1
-0
No files found.
Dockerfile.dev
View file @
8024a046
...
...
@@ -10,6 +10,7 @@ RUN apt-get update && apt-get install -y yarn
RUN curl -L https://github.com/coot/zephyr/releases/download/v0.3.2/Linux.tar.gz | tar zx -C /usr/bin --strip-components=1 zephyr/zephyr
RUN curl -L https://github.com/dhall-lang/dhall-haskell/releases/download/1.38.1/dhall-json-1.7.6-x86_64-linux.tar.bz2 | tar jx -C /usr/bin --strip-components=2 ./bin/dhall-to-json
RUN yarn global add purescript spago pulp
WORKDIR /opt/app
EXPOSE 5000/tcp
...
...
README.md
View file @
8024a046
...
...
@@ -144,11 +144,10 @@ the docker container.
### Basic tasks
Now we must install our javascript and purescript dependencies:
*Note: if you're installing manually you might also need to manually install [psc-package](https://github.com/purescript/psc-package)*
```
shell
darn
install
-D
&&
darn install-ps
# for docker setup
yarn
install
-D
&&
yarn install-ps
# for manual setup
darn
install
-D
# for docker setup
yarn
install
-D
# for manual setup
```
You will likely want to check your work in a browser. We provide a
...
...
@@ -166,13 +165,6 @@ darn build # for docker setup
yarn build
# for manual setup
```
If you are rapidly iterating and just want to type check your code:
```
shell
darn compile
# for docker setup
yarn compile
# for manual setup
```
You may access a purescript repl if you want to explore:
```
shell
...
...
package.json
View file @
8024a046
...
...
@@ -18,6 +18,7 @@
"clean-js"
:
"rm -Rf node_modules"
,
"clean-ps"
:
"rm -Rf output"
,
"server"
:
"serve dist"
,
"build"
:
"spago build && pulp browserify --skip-compile -t dist/bundle.js --src-path output"
,
"prod"
:
"yarn prod:compile && yarn prod:dce && yarn prod:bundle && yarn prod:pack"
,
"prod:compile"
:
"pulp build -- -g corefn"
,
"prod:dce"
:
"zephyr -f Main.main"
,
...
...
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