Skip to content
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

Delete simpleSampleData #419

Merged
merged 2 commits into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
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
27 changes: 9 additions & 18 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,25 +431,16 @@ $ php deploy/DeployRequiredDataRunner.php requiredData

### OPTIONAL: Deploy Sample Data<a id="deploy-sample-data"></a>

You can choose to deploy some sample data to seed your DB with sample users,
sites and services. Two sample data sets are available. Choose one of -
You can choose to deploy some sample data to seed your database. It consists of
a project which contains 2 NGIs, and another NGI not in a project. Each NGI contains
multiple sites which have services belonging to service groups, and the database is
populated with unique sample users, which have roles over relevant site, NGI and
project entities. The sample data has no real-world associations.

1. Minimal - just enough to get going with no real-world associations.

```bash
$ cd lib/Doctrine
$ php deploy/DeploySampleDataRunner.php simpleSampleData
```
1. Full - A full set of sample data to use. Consists of a project which contains
2 NGIs and another NGI not in a project. Each NGI contains multiple sites which
have services belonging to service groups, and the database is populated with
unique sample users, which have roles over relevant site, NGI or project entities.
The sample data has no real-world associations.

```bash
$ cd lib/Doctrine
$ php deploy/DeploySampleDataRunner.php sampleData
```
```bash
$ cd lib/Doctrine
$ php deploy/DeploySampleDataRunner.php sampleData
```

### ORACLE ONLY: Deploy an existing DB .dmp file to populate your DB<a id="deploy-existing-dump"></a>

Expand Down
11 changes: 0 additions & 11 deletions lib/Doctrine/deploy/simpleSampleData/CertStatusChanges.xml

This file was deleted.

8 changes: 0 additions & 8 deletions lib/Doctrine/deploy/simpleSampleData/CertStatusDate.xml

This file was deleted.

9 changes: 0 additions & 9 deletions lib/Doctrine/deploy/simpleSampleData/NGIs.xml

This file was deleted.

10 changes: 0 additions & 10 deletions lib/Doctrine/deploy/simpleSampleData/Scopes.xml

This file was deleted.

26 changes: 0 additions & 26 deletions lib/Doctrine/deploy/simpleSampleData/ServiceEndpoints.xml

This file was deleted.

19 changes: 0 additions & 19 deletions lib/Doctrine/deploy/simpleSampleData/ServiceGroups.xml

This file was deleted.

28 changes: 0 additions & 28 deletions lib/Doctrine/deploy/simpleSampleData/Sites.xml

This file was deleted.

31 changes: 0 additions & 31 deletions lib/Doctrine/deploy/simpleSampleData/UsersAndRoles.xml

This file was deleted.