Skip to content

Update local development instructions #202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,19 @@ Most of these features can be controlled not only from the toolbar, but also usi

### 1. Client setup

Note, should actually do step 2 first so output dir is ready to be symlinked.

```sh
git clone [email protected]:purescript/trypurescript.git
cd trypurescript/client

npm install
npm run build

cd public
httpserver 8080 #eg with: alias httpserver='python -m SimpleHTTPServer'
open http://localhost:8080
ln -rs ../staging/output public/js/output

npm i http-server
http-server public -o
```

### 2. Local compile server setup
Expand All @@ -76,7 +79,7 @@ stack build

# Install PureScript dependencies
cd staging
spago install
spago build

stack exec trypurescript 8081 $(spago sources)
# should output that is is compiling the sources (first time)
Expand Down