-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
referencing all URLs with substitutions
- Loading branch information
l-gorman
committed
Apr 9, 2021
1 parent
8a2fc43
commit 119579b
Showing
11 changed files
with
49 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Legume CHOICE sphinx documentation | ||
|
||
This documentation was built using sphinx. To view full details of the documentation, and for a full description of the whole legumeCHOICE tool, please see the [full documentation](https://legume-choice-docs.readthedocs.io/). | ||
|
||
The URLs and links are all referenced using substitutions. For more details on this, or to change the links to refer to your own legumeCHOICE implementation, please see the `conf.py` file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Administrator Guidance | ||
|
||
Administrators of the legumeCHOICE tool have the ability to view and update the raw data collected by users of the tool. To access the raw data, administrators should visit [this page](https://l-gorman.com/AdminLegumeCHOICE/). They will be prompted to enter a username and password which are known only to administrators. | ||
Administrators of the legumeCHOICE tool have the ability to view and update the raw data collected by users of the tool. To access the raw data, administrators should visit {{ '[this page]({}{})'.format(apiUrl,adminData) }}. They will be prompted to enter a username and password which are known only to administrators. | ||
|
||
Administrators can download the raw data in JSON format. To view how to load and submit data, administrators should refer to the _managing data_ section of [Using the App](legume-choice-app.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# API | ||
|
||
The API used for this project is a very simple express API. The API can be cloned [here](https://github.com/l-gorman/legume-choice-api). Clone the repository, change to the project directory using the command `cd legume-choice-api` and ensure dependencies are installed using the command `npm install`. The database models can be found in the `models` folder, and the routes in the `routes` folder. The api can be started using the command `node server.js` (it will run on port 5000 by default). | ||
The API used for this project is a very simple express API. The API can be cloned {{ '[here]({}{})'.format(githubBase,apiRepo) }}. Clone the repository, change to the project directory using the command `cd legume-choice-api` and ensure dependencies are installed using the command `npm install`. The database models can be found in the `models` folder, and the routes in the `routes` folder. The api can be started using the command `node server.js` (it will run on port 5000 by default). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Documentation | ||
|
||
This documentation was created using sphinx and is hosted on readthedocs. The repository for this documentation can be found [here](https://github.com/l-gorman/legume-choice-docs). The markdown files which contain the content can all be found in the `source` directory. To add new sections to the documentation, add a new markdown (or RST) file to the source directory, and refer to the file in the toctree (found in the `index.rst` file) to ensure it is included in the table of contents. | ||
This documentation was created using sphinx and is hosted on readthedocs. The repository for this documentation can be found {{ '[here]({}{})'.format(githubBase,docsRepo) }}. The markdown files which contain the content can all be found in the `source` directory. To add new sections to the documentation, add a new markdown (or RST) file to the source directory, and refer to the file in the toctree (found in the `index.rst` file) to ensure it is included in the table of contents. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Data Processing | ||
|
||
The data-processing is done using a series of python scripts. These can be accessed [here](https://github.com/l-gorman/legume-choice-data-processing). One script `daemon.py` listens for changes in the MongoDB database. When a change occurs, the script `FormatAllData.py` is run to reformat the data, and generate a series of CSVs. These CSVs are then made available for download through folders on the linux virtual machine (see [server description](nginx.md)). | ||
The data-processing is done using a series of python scripts. These can be accessed {{ '[here]({}{})'.format(githubBase,dataProcessingRepo) }}. One script `daemon.py` listens for changes in the MongoDB database. When a change occurs, the script `FormatAllData.py` is run to reformat the data, and generate a series of CSVs. These CSVs are then made available for download through folders on the linux virtual machine (see [server description](nginx.md)). | ||
|
||
To run this script locally, and produce modified outputs, ensure the requirements are installed (see `requirments.txt`), then run the command `python3 FormatAllData.py`. The python daemon is daemonized using systemd. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters