From 4f20b0d451b02a430b69d39eb215ef6f1c5493b0 Mon Sep 17 00:00:00 2001 From: Jason Kai Date: Tue, 4 Oct 2022 20:13:39 -0400 Subject: [PATCH 1/3] start to update readme to rm heroku mentions --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 02199fd1..4431422c 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,6 @@ _Install via `apt-get` or `snap`_ ### Setup for local testing 1. Git clone the afids-validator repository `git clone https://github.com/afids/afids-validator.git` -2. Add heroku as a remote `heroku git:remote -a afids-validator` 3. Set up python virtual environment `python -m virtualenv ` 4. In virtual environment, install required modules `pip install -r requirements.txt --no-cache-dir` 5. Create a superuser via postgres `sudo createuser --interactive` @@ -43,9 +42,4 @@ To test the login with ORCID iD: 2. Follow [these instructions](https://info.orcid.org/documentation/integration-guide/registering-a-public-api-client/#easy-faq-2606) to get a client ID and client secret. Set the `Redirect URIs` to your local testing address (eg. `127.0.0.1:5000`, `localhost:5000`) 3. Update your local `.env` file with your new credentials. 4. Locally change the URLs in `afidsvalidator/orcid.py` to start with api.sandbox.orcid.org -5. Run the application and test your login. - -### Testing on Heroku -A test web app has been setup for the afids-validator at [https://afids-validator-test.herokuapp.com](https://afids-validator-test.herokuapp.com). Any new features will first be made available in the test app. - -**_Note stability of this test app is not guranteed and is meant for testing purposes only_** +5. Run the application and test your login. \ No newline at end of file From 176206c145c0d481d55169e0c5240c23ddd68f69 Mon Sep 17 00:00:00 2001 From: Jason Kai Date: Wed, 5 Oct 2022 15:25:09 -0400 Subject: [PATCH 2/3] rm additional heroku needed files --- Procfile | 1 - runtime.txt | 1 - 2 files changed, 2 deletions(-) delete mode 100644 Procfile delete mode 100644 runtime.txt diff --git a/Procfile b/Procfile deleted file mode 100644 index fe1c5d51..00000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: gunicorn "afidsvalidator:create_app()" diff --git a/runtime.txt b/runtime.txt deleted file mode 100644 index 425359e6..00000000 --- a/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.9 From 0d29d1a2d0758b8df7efa8aa3e7a928fcdec4b61 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Wed, 5 Oct 2022 19:28:46 +0000 Subject: [PATCH 3/3] Fix code style issues with Black --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index efb9f269..70cb3cb2 100644 --- a/setup.py +++ b/setup.py @@ -18,5 +18,5 @@ "python-dotenv~=0.17", "WTForms~=2.2", ], - version="v1.2.2" + version="v1.2.2", )