mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
Fixed scripts
This commit is contained in:
@@ -23,7 +23,7 @@ Launch the CLI with the command below and follow the instructions.
|
||||
Before running cli [make yourself a deployment key](https://developer.github.com/v3/guides/managing-deploy-keys/#setup-2) for Anonyymioodi private repository and put it in your root folder as private.key. This allows you to download the anonymized dumps from the repository.
|
||||
|
||||
```
|
||||
bash run.sh
|
||||
bash ./scripts/run.sh
|
||||
```
|
||||
|
||||
For local development with anonymized data use `2) Anon setup` (you can run e2e tests with this).
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
"name": "oodikone",
|
||||
"version": "1.0.0",
|
||||
"description": "Simple CLI tool for setting up the development environment for Oodikone. The entire development environment runs inside of a Docker network that's defined in the docker-compose.yml file. The specifics of what this means for setting up the environment and accessing logs is discussed in a later section.",
|
||||
"main": "run.sh",
|
||||
"main": "./scripts/run.sh",
|
||||
"scripts": {
|
||||
"cypress:open": "CYPRESS_baseUrl=http://localhost:8081 cypress open",
|
||||
"cypress:run": "CYPRESS_baseUrl=http://localhost:8081 cypress run --config video=false -P ./",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
source ./scripts/scripts.sh
|
||||
source ./scripts.sh
|
||||
|
||||
PS3='Please enter your choice: '
|
||||
|
||||
|
||||
Reference in New Issue
Block a user