+
Skip to content

Add note to documentation for Ubuntu generate_data not running correctly #235

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

Merged
merged 4 commits into from
Oct 3, 2023
Merged
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 devHelper/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# How to generate mock data and start developing in your local
# How to generate mock data and start developing in your local

## Step.1 start elasticsearch
Go to the repository's root directory, do:
Expand All @@ -10,7 +10,7 @@ docker-compose -f ./devHelper/docker/esearch.yml up -d
In the root directory of this repo, run the following command:

```
sh ./generate_data.sh
./generate_data.sh
```

Doing so will automatically generate 3 ES indices (1 for `subject`, 1 for `file`, and 1 for `config`) and populate 100 records into each index.
Expand Down Expand Up @@ -50,8 +50,8 @@ In the root directory of this repo, run:
GUPPY_PORT=3000 INTERNAL_LOCAL_TEST=true npm start
```

The Guppy server will be hosted at [localhost:3000/graphql](http://localhost:3000/graphql), now use Insomnia or Postman to play with it!
We use nodemon to start the server, so all code change will be hot applied to the running server in realtime.
The Guppy server will be hosted at [localhost:3000/graphql](http://localhost:3000/graphql), now use Insomnia or Postman to play with it!
We use nodemon to start the server, so all code change will be hot applied to the running server in realtime.

## Step.4 start storybook for developing front-end components
In the root directory of this repo, run:
Expand All @@ -60,4 +60,4 @@ In the root directory of this repo, run:
npm run storybook
```

[Storybook](https://storybook.js.org/) will be hosted at [localhost:6006](http://localhost:6006).
[Storybook](https://storybook.js.org/) will be hosted at [localhost:6006](http://localhost:6006).
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载