Skip to content

Port in .env.example is now 4999; fix README.md #594

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

Open
wants to merge 1 commit into
base: horizon
Choose a base branch
from
Open
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
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ and test out the REPL, you only need to edit a few variables. If you want to
use the standalone pyret that comes with the checkout, you can just set

```
PYRET="http://localhost:5000/js/cpo-main.jarr"
PYRET="http://localhost:4999/js/cpo-main.jarr"
```

Then you can run
Expand All @@ -39,7 +39,7 @@ it doesn't need to be terminated across builds), run:
$ npm start
```

The editor will be served from `http://localhost:5000/editor`.
The editor will be served from `http://localhost:4999/editor`.

If you edit JavaScript or HTML files in `src/web`, run

Expand Down Expand Up @@ -75,15 +75,15 @@ At https://console.developers.google.com/project, make a project, then:
Credentials -> Create Credentials -> OAuth Client Id

For development, you should set the javascript origins to
`http://localhost:5000` and the redirect URI to
`http://localhost:5000/oauth2callback`.
`http://localhost:4999` and the redirect URI to
`http://localhost:4999/oauth2callback`.

- For `GOOGLE_API_KEY`, which is used in the browser to make certain public
requests when users are not logged in yet:

Credentials -> Create Credentials -> API Key -> Browser Key

Again, you should use `http://localhost:5000` as the referer for development.
Again, you should use `http://localhost:4999` as the referer for development.


- Add the Google Drive API to your project and include the Google Drive API
Expand Down