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

Migration updates #180

Merged
merged 3 commits into from
Oct 5, 2022
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
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <venv directory>`
4. In virtual environment, install required modules `pip install -r requirements.txt --no-cache-dir`
5. Create a superuser via postgres `sudo createuser --interactive`
Expand All @@ -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.
1 change: 0 additions & 1 deletion runtime.txt

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
"python-dotenv~=0.17",
"WTForms~=2.2",
],
version="v1.2.2"
version="v1.2.2",
)