diff --git a/README.md b/README.md index 7cabc17f24..3373388edd 100644 --- a/README.md +++ b/README.md @@ -66,17 +66,16 @@ By default, Docker volumes named dev_db, dev_elastic, and dev_files will be crea Before you can begin, you need to create a workspace and an account and associate it with the workspace. ```bash -cd ./tool +cd ./tool # dev/tool in the repository root rushx run-local create-workspace ws1 -o DevWorkspace # Create workspace rushx run-local create-account user1 -p 1234 -f John -l Appleseed # Create account -rushx run-local configure sanity-ws --list --enable '*' # Enable all modules, even if they are not yet intended to be used by a wide audience. +rushx run-local configure ws1 --list --enable '*' # Enable all modules, even if they are not yet intended to be used by a wide audience. rushx run-local assign-workspace user1 ws1 # Assign workspace to user. rushx run-local confirm-email user1 # To allow the creation of additional test workspaces. ``` or just: -sh ./scripts/build.sh ```bash sh ./scripts/create-workspace.sh @@ -100,6 +99,13 @@ rushx dev-server Then go to http://localhost:8080 +Use the following login credentials: +``` +Email: user1 +Password: 1234 +Workspace: ws1 +``` + ## Update project structure and database If the project's structure is updated, it may be necessary to relink and rebuild the projects. diff --git a/scripts/create-workspace.sh b/scripts/create-workspace.sh index 000459c201..7ceb709c70 100644 --- a/scripts/create-workspace.sh +++ b/scripts/create-workspace.sh @@ -1,6 +1,6 @@ -cd ./tool +cd ./dev/tool rushx run-local create-workspace ws1 -o DevWorkspace # Create workspace rushx run-local create-account user1 -p 1234 -f John -l Appleseed # Create account -rushx run-local configure sanity-ws --list --enable '*' # Enable all modules, even if they are not yet intended to be used by a wide audience. +rushx run-local configure ws1 --list --enable '*' # Enable all modules, even if they are not yet intended to be used by a wide audience. rushx run-local assign-workspace user1 ws1 # Assign workspace to user. rushx run-local confirm-email user1 # To allow the creation of additional test workspaces. \ No newline at end of file