-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Viagenie/release-2.0.0
Release 2.0.0
- Loading branch information
Showing
103 changed files
with
27,410 additions
and
1,676 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
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 |
---|---|---|
|
@@ -9,8 +9,8 @@ The following modules are reusable Django apps that can be included in other Dja | |
|
||
* `lgr_editor` contains the code related to the LGR web-editor. | ||
* `lgr_validator` contains the code related the label validation module. | ||
* `lgr_tools` contains the code related to all utilities: testing LGR and | ||
label sets, LGR comparisons, etc. | ||
* `lgr_tools` contains the code related to all utilities: testing LGR and label sets, LGR comparisons, etc. | ||
* `lgr_renderer` contains the code and templates used to generate the static exports of the LGR (HTML only for now). | ||
|
||
## Acknowledgment | ||
|
||
|
@@ -53,7 +53,7 @@ THE POSSIBILITY OF SUCH DAMAGE. | |
### Pre-requisites | ||
|
||
* Operating system: Tested on Linux and Mac OS X | ||
* Python 2.7 | ||
* Python 2.7, >= 3.4 | ||
* [LibXML2](http://www.xmlsoft.org/) [MIT License] used by the lxml Python bindings | ||
* [ICU4C](http://site.icu-project.org/) [ICU License] | ||
* Python modules (listed in `etc/requirements.txt`, or dependencies thereof) | ||
|
@@ -65,7 +65,8 @@ THE POSSIBILITY OF SUCH DAMAGE. | |
* [picu](https://pypi.python.org/pypi/picu) [MIT/X License] | ||
* [munidata](https://github.com/icann/munidata) [BSD License] | ||
* [natsort](https://pypi.python.org/pypi/natsort) [MIT License] | ||
* A [redis](https://redis.io/) server for asynchronous computations | ||
* [django-redis-cache](https://github.com/sebleier/django-redis-cache) [BSD License] | ||
* A [redis](https://redis.io/) server for cache and asynchronous computations | ||
|
||
For documentation generation: | ||
|
||
|
@@ -203,47 +204,6 @@ of each Unicode version that we support. | |
Keys are the Unicode version, like '6.3.0' Values are a dict of the kwargs to pass to the `munidata.manager.register` | ||
function along with the version. | ||
|
||
## Deploying application on a Docker image | ||
|
||
### Pre-requisites | ||
|
||
* Install Docker (version 1.9). | ||
* Copy the tarball archives of the project (lgr-core, lgr-django, munidata, picu) in the docker folder. | ||
|
||
### Create the Docker image | ||
|
||
The Docker image name and tag are set with the -t option name:tag. | ||
Tag is optional (default: latest). | ||
|
||
Build arguments are specific options for our Docker image. | ||
At the moment you can configure the allowed hosts for Django with the hosts argument and some e-mail parameters (server address and sender). | ||
|
||
# cd docker | ||
# docker build -t lgr-toolset --build-arg hosts="lgr.example" --build-arg email_srv="email-srv.lgr.example" --build-arg email_from="[email protected]" . | ||
|
||
### Run the Docker image | ||
|
||
The Docker image name and tag should be the same as in build command to run the | ||
relevant container. | ||
|
||
The -h option should contain an allowed host specified in the hosts argument | ||
when building the container. | ||
|
||
# docker run -h lgr.example -d -p 80:80 lgr-toolset | ||
|
||
### Debug the Docker image | ||
|
||
The following command allows to get a bash shell in the Docker image in order to perform debug operations: | ||
|
||
# docker run -h lgr.example -p 80:80 -i -t lgr-toolset bash | ||
|
||
Then to launch the server in the Docker image run: | ||
|
||
# ./start.sh & | ||
|
||
You can now debug the Docker image. | ||
|
||
|
||
## Deploying application to production | ||
|
||
Please see Installation\_Guide | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.