mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 02:31:30 +08:00
17 lines
634 B
Bash
Executable File
17 lines
634 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# install selenium
|
|
selenium-standalone install
|
|
|
|
# Creating Admin Test User
|
|
./bin/cli users create --flag_mode --email "admin@test.com" --password "testtest" --name "AdminTestUser" --role "admin"
|
|
|
|
# Creating Moderator Test User
|
|
./bin/cli users create --flag_mode --email "moderator@test.com" --password "testtest" --name "ModeratorTestUser" --role "moderator"
|
|
|
|
# Creating Commenter Test User
|
|
./bin/cli users create --flag_mode --email "commenter@test.com" --password "testtest" --name "CommenterTestUser"
|
|
|
|
# Start the server and write the PID to a file to be killed later.
|
|
./bin/cli --pid /tmp/talk-e2e.pid serve --jobs &
|