diff --git a/.gitignore b/.gitignore index e123fc6..b158213 100644 --- a/.gitignore +++ b/.gitignore @@ -122,4 +122,4 @@ venv.bak/ .mypy_cache/ # Jekyll docs -/_site \ No newline at end of file +docs/_site \ No newline at end of file diff --git a/auth_api/api/api_auth/__init__.py b/auth_api/api/api_auth/__init__.py index 25acc1b..caf4dd7 100644 --- a/auth_api/api/api_auth/__init__.py +++ b/auth_api/api/api_auth/__init__.py @@ -3,7 +3,7 @@ """ api_auth/__init__.py - provides the API endpoints for consuming and producing - REST requests and responses + REST requests and responses """ from auth_api.api import * @@ -22,13 +22,13 @@ ### create API # api = Api( blueprint, api = Custom_API( blueprint, - title = "TokTok / Auth API : AUTH SERVER", - version = app.config["APP_VERSION"], - description = app.config["CODE_LINK"] + " : auth server / manages tokens", - doc = '/documentation', - default = 'login', - authorizations = auth_check, - # security='apikey' # globally ask for apikey auth + title = "TokTok / Auth API : AUTH SERVER", + version = app.config["APP_VERSION"], + description = app.config["CODE_LINK"] + " : auth server / manages tokens", + doc = '/documentation', + default = 'login', + authorizations = auth_check, + # security='apikey' # globally ask for apikey auth ) @@ -36,11 +36,11 @@ @api.errorhandler def default_error_handler(e): - message = 'An unhandled exception occurred.' - log.exception(message) + message = 'An unhandled exception occurred.' + log.exception(message) - if not app.config["FLASK_DEBUG"]: - return {'message': message}, 500 + if not app.config["FLASK_DEBUG"]: + return {'message': message}, 500 # @api.errorhandler(NoResultFound) diff --git a/Gemfile b/docs/Gemfile similarity index 100% rename from Gemfile rename to docs/Gemfile diff --git a/Gemfile.lock b/docs/Gemfile.lock similarity index 100% rename from Gemfile.lock rename to docs/Gemfile.lock diff --git a/_config.yml b/docs/_config.yml similarity index 100% rename from _config.yml rename to docs/_config.yml diff --git a/_data/navigation.yml b/docs/_data/navigation.yml similarity index 100% rename from _data/navigation.yml rename to docs/_data/navigation.yml diff --git a/_pages/404.md b/docs/_pages/404.md similarity index 100% rename from _pages/404.md rename to docs/_pages/404.md diff --git a/_pages/about.md b/docs/_pages/about.md similarity index 100% rename from _pages/about.md rename to docs/_pages/about.md diff --git a/_pages/category-archive.md b/docs/_pages/category-archive.md similarity index 100% rename from _pages/category-archive.md rename to docs/_pages/category-archive.md diff --git a/_pages/collection-archive.html b/docs/_pages/collection-archive.html similarity index 100% rename from _pages/collection-archive.html rename to docs/_pages/collection-archive.html diff --git a/_pages/search.md b/docs/_pages/search.md similarity index 100% rename from _pages/search.md rename to docs/_pages/search.md diff --git a/_pages/tag-archive.md b/docs/_pages/tag-archive.md similarity index 100% rename from _pages/tag-archive.md rename to docs/_pages/tag-archive.md diff --git a/_pages/year-archive.md b/docs/_pages/year-archive.md similarity index 100% rename from _pages/year-archive.md rename to docs/_pages/year-archive.md diff --git a/_posts/2019-01-16-license.md b/docs/_posts/2019-01-16-license.md similarity index 100% rename from _posts/2019-01-16-license.md rename to docs/_posts/2019-01-16-license.md diff --git a/_posts/2019-04-01-git.md b/docs/_posts/2019-04-01-git.md similarity index 85% rename from _posts/2019-04-01-git.md rename to docs/_posts/2019-04-01-git.md index 4e8f08f..0213312 100644 --- a/_posts/2019-04-01-git.md +++ b/docs/_posts/2019-04-01-git.md @@ -39,14 +39,14 @@ git init . ### add remote repo links ``` -git remote add origin https://github.com/entrepreneur-interet-general/toktok_frontend.git +git remote add origin https://github.com/co-demos/toktok.git ``` ------------- #### if need for reset remote’s url : ``` -git remote set-url origin https://github.com/entrepreneur-interet-general/toktok_frontend.git +git remote set-url origin https://github.com/co-demos/toktok.git ``` ------------ diff --git a/_posts/2019-04-01-mongo_db.md b/docs/_posts/2019-04-01-mongo_db.md similarity index 100% rename from _posts/2019-04-01-mongo_db.md rename to docs/_posts/2019-04-01-mongo_db.md diff --git a/_posts/2019-04-01-nginx.md b/docs/_posts/2019-04-01-nginx.md similarity index 100% rename from _posts/2019-04-01-nginx.md rename to docs/_posts/2019-04-01-nginx.md diff --git a/_posts/2019-04-01-supervisor.md b/docs/_posts/2019-04-01-supervisor.md similarity index 100% rename from _posts/2019-04-01-supervisor.md rename to docs/_posts/2019-04-01-supervisor.md diff --git a/_posts/2019-04-01-ubuntu.md b/docs/_posts/2019-04-01-ubuntu.md similarity index 100% rename from _posts/2019-04-01-ubuntu.md rename to docs/_posts/2019-04-01-ubuntu.md diff --git a/_posts/2019-04-18-welcome-to-jekyll.md b/docs/_posts/2019-04-18-welcome-to-jekyll.md similarity index 100% rename from _posts/2019-04-18-welcome-to-jekyll.md rename to docs/_posts/2019-04-18-welcome-to-jekyll.md diff --git a/_posts/2019-05-01-presentation.md b/docs/_posts/2019-05-01-presentation.md similarity index 100% rename from _posts/2019-05-01-presentation.md rename to docs/_posts/2019-05-01-presentation.md diff --git a/_posts/2019-05-04-ecosystem.md b/docs/_posts/2019-05-04-ecosystem.md similarity index 100% rename from _posts/2019-05-04-ecosystem.md rename to docs/_posts/2019-05-04-ecosystem.md diff --git a/_posts/2019-05-05-installation.md b/docs/_posts/2019-05-05-installation.md similarity index 89% rename from _posts/2019-05-05-installation.md rename to docs/_posts/2019-05-05-installation.md index f34b3c5..d038ae3 100644 --- a/_posts/2019-05-05-installation.md +++ b/docs/_posts/2019-05-05-installation.md @@ -177,11 +177,17 @@ At the CLI level you can use : @click.option('--https', default="false", nargs=1, help="The mode you want the app to run on : true | false") ``` +### the variables in `.env` files + Within the `.env`files you can change the following variables : - `example.env.global` ``` bash +### GLOBAL ENV VARS + +APP_VERSION=0.4 + RUN_MODE=default DOCKER_MODE=docker_off AUTH_MODE=default @@ -198,13 +204,33 @@ SERVER_NAME_TEST=True ### MONGO DB RELATED MONGODB_MODE=local +### AUTH SPECS ENV VARS +RSA_MODE=no +ANOJWT_MODE=no +ANTISPAM_MODE=no +ANTISPAM_VAL=my-string-to-check + +SECURITY_PASSWORD_SALT=a-secret-security-pwd-salt + +JWT_SECRET_KEY=a-secret-jwt-key +JWT_ACCESS_TOKEN_EXPIRES=720 +JWT_REFRESH_TOKEN_EXPIRES=10 +JWT_ANONYMOUS_REFRESH_TOKEN_EXPIRES=15 +JWT_CONFIRM_EMAIL_REFRESH_TOKEN_EXPIRES=7 +JWT_RESET_PWD_ACCESS_TOKEN_EXPIRES=1 + +JWT_RENEW_REFRESH_TOKEN_AT_LOGIN=true +REDIRECTION_FRONT_PREPROD=http://preprod.toktok.co-demos.com +REDIRECTION_FRONT_PROD=http://toktok.co-demos.com + ``` - `example.env.mongodb` ``` bash - +### MONGODB ENV VARS ### to build mongodb URI + MONGO_ROOT_LOCAL=localhost MONGO_ROOT_DOCKER=host.docker.internal MONGO_PORT_LOCAL=27017 @@ -229,4 +255,20 @@ MONGO_COLL_TAGS=tags MONGO_COLL_USERS=users MONGO_COLL_LICENCES=licences MONGO_COLL_JWT_BLACKLIST=jwt_blacklist +``` + + +- `example.env.mailing` + +``` bash +### MAILING ENV VARS + +MAIL_SERVER=smtp.googlemail.com +MAIL_PORT=465 +MAIL_USE_TLS=False +MAIL_USE_SSL=True +MAIL_USERNAME=XXX.XXX@XXX.com +MAIL_PASSWORD=XXXXX +MAIL_ADMINS=XXXX.XXXX@gmail.com,YYYY.YYYY@gmail.com +MAIL_DEFAULT_SENDER=XXXX.XXXX@gmail.com ``` \ No newline at end of file diff --git a/_posts/2019-05-06-backoffice.md b/docs/_posts/2019-05-06-backoffice.md similarity index 100% rename from _posts/2019-05-06-backoffice.md rename to docs/_posts/2019-05-06-backoffice.md diff --git a/_posts/2019-05-07-basic-dataviz-project.md b/docs/_posts/2019-05-07-basic-dataviz-project.md similarity index 100% rename from _posts/2019-05-07-basic-dataviz-project.md rename to docs/_posts/2019-05-07-basic-dataviz-project.md diff --git a/_posts/2019-05-07-data-flows.md b/docs/_posts/2019-05-07-data-flows.md similarity index 100% rename from _posts/2019-05-07-data-flows.md rename to docs/_posts/2019-05-07-data-flows.md diff --git a/_posts/2019-05-07-deployment-configs.md b/docs/_posts/2019-05-07-deployment-configs.md similarity index 100% rename from _posts/2019-05-07-deployment-configs.md rename to docs/_posts/2019-05-07-deployment-configs.md diff --git a/_posts/2019-05-07-third-services-integration.md b/docs/_posts/2019-05-07-third-services-integration.md similarity index 100% rename from _posts/2019-05-07-third-services-integration.md rename to docs/_posts/2019-05-07-third-services-integration.md diff --git a/_posts/2019-05-08-install-docs.md b/docs/_posts/2019-05-08-install-docs.md similarity index 100% rename from _posts/2019-05-08-install-docs.md rename to docs/_posts/2019-05-08-install-docs.md diff --git a/_posts/2019-05-09-stack.md b/docs/_posts/2019-05-09-stack.md similarity index 100% rename from _posts/2019-05-09-stack.md rename to docs/_posts/2019-05-09-stack.md diff --git a/_posts/2019-05-10-contributing.md b/docs/_posts/2019-05-10-contributing.md similarity index 100% rename from _posts/2019-05-10-contributing.md rename to docs/_posts/2019-05-10-contributing.md diff --git a/_posts/2019-05-11-roadmaps.md b/docs/_posts/2019-05-11-roadmaps.md similarity index 100% rename from _posts/2019-05-11-roadmaps.md rename to docs/_posts/2019-05-11-roadmaps.md diff --git a/_posts/2019-05-12-guidelines.md b/docs/_posts/2019-05-12-guidelines.md similarity index 100% rename from _posts/2019-05-12-guidelines.md rename to docs/_posts/2019-05-12-guidelines.md diff --git a/_posts/2019-05-13-maintain.md b/docs/_posts/2019-05-13-maintain.md similarity index 100% rename from _posts/2019-05-13-maintain.md rename to docs/_posts/2019-05-13-maintain.md diff --git a/_posts/2019-05-14-credits.md b/docs/_posts/2019-05-14-credits.md similarity index 100% rename from _posts/2019-05-14-credits.md rename to docs/_posts/2019-05-14-credits.md diff --git a/_posts/2019-05-15-changelog.md b/docs/_posts/2019-05-15-changelog.md similarity index 100% rename from _posts/2019-05-15-changelog.md rename to docs/_posts/2019-05-15-changelog.md diff --git a/_posts/2019-05-22-firstpost.md b/docs/_posts/2019-05-22-firstpost.md similarity index 100% rename from _posts/2019-05-22-firstpost.md rename to docs/_posts/2019-05-22-firstpost.md diff --git a/documentation/README.md b/docs/documentation/README.md similarity index 100% rename from documentation/README.md rename to docs/documentation/README.md diff --git a/documentation/configurations/.~APIVIZ CONFIGURATIONS.vue b/docs/documentation/configurations/.~APIVIZ CONFIGURATIONS.vue similarity index 100% rename from documentation/configurations/.~APIVIZ CONFIGURATIONS.vue rename to docs/documentation/configurations/.~APIVIZ CONFIGURATIONS.vue diff --git a/documentation/configurations/.~APIVIZ_CONFIGURATIONS.vue b/docs/documentation/configurations/.~APIVIZ_CONFIGURATIONS.vue similarity index 100% rename from documentation/configurations/.~APIVIZ_CONFIGURATIONS.vue rename to docs/documentation/configurations/.~APIVIZ_CONFIGURATIONS.vue diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export-details-full.jpg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-details-full.jpg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export-details-full.jpg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-details-full.jpg diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export-details-light.jpg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-details-light.jpg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export-details-light.jpg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-details-light.jpg diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export-details.jpg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-details.jpg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export-details.jpg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-details.jpg diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export-legends.jpg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-legends.jpg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export-legends.jpg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-legends.jpg diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export-local-dev-A.jpg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-local-dev-A.jpg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export-local-dev-A.jpg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-local-dev-A.jpg diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-A-B.jpg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-A-B.jpg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-A-B.jpg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-A-B.jpg diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-C-D.jpg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-C-D.jpg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-C-D.jpg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-C-D.jpg diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-D.jpg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-D.jpg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-D.jpg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-paas-D.jpg diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export-server-A-B-Bbis.jpg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-server-A-B-Bbis.jpg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export-server-A-B-Bbis.jpg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-server-A-B-Bbis.jpg diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export-server-C-D.jpg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-server-C-D.jpg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export-server-C-D.jpg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-server-C-D.jpg diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export-server-C.jpg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-server-C.jpg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export-server-C.jpg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export-server-C.jpg diff --git a/documentation/configurations/APIVIZ CONFIGURATIONS-export.jpeg b/docs/documentation/configurations/APIVIZ CONFIGURATIONS-export.jpeg similarity index 100% rename from documentation/configurations/APIVIZ CONFIGURATIONS-export.jpeg rename to docs/documentation/configurations/APIVIZ CONFIGURATIONS-export.jpeg diff --git a/documentation/configurations/APIVIZ_CONFIGURATIONS-export.pdf b/docs/documentation/configurations/APIVIZ_CONFIGURATIONS-export.pdf similarity index 100% rename from documentation/configurations/APIVIZ_CONFIGURATIONS-export.pdf rename to docs/documentation/configurations/APIVIZ_CONFIGURATIONS-export.pdf diff --git a/documentation/configurations/APIVIZ_CONFIGURATIONS.vue b/docs/documentation/configurations/APIVIZ_CONFIGURATIONS.vue similarity index 100% rename from documentation/configurations/APIVIZ_CONFIGURATIONS.vue rename to docs/documentation/configurations/APIVIZ_CONFIGURATIONS.vue diff --git a/documentation/screenshots/backend-api-global-01.png b/docs/documentation/screenshots/backend-api-global-01.png similarity index 100% rename from documentation/screenshots/backend-api-global-01.png rename to docs/documentation/screenshots/backend-api-global-01.png diff --git a/documentation/screenshots/backend-api-global-02.png b/docs/documentation/screenshots/backend-api-global-02.png similarity index 100% rename from documentation/screenshots/backend-api-global-02.png rename to docs/documentation/screenshots/backend-api-global-02.png diff --git a/documentation/screenshots/backoffice-sonum-01.png b/docs/documentation/screenshots/backoffice-sonum-01.png similarity index 100% rename from documentation/screenshots/backoffice-sonum-01.png rename to docs/documentation/screenshots/backoffice-sonum-01.png diff --git a/documentation/screenshots/detail-view-sonum-01.png b/docs/documentation/screenshots/detail-view-sonum-01.png similarity index 100% rename from documentation/screenshots/detail-view-sonum-01.png rename to docs/documentation/screenshots/detail-view-sonum-01.png diff --git "a/documentation/screenshots/legacy/Icon\r" "b/docs/documentation/screenshots/legacy/Icon\r" similarity index 100% rename from "documentation/screenshots/legacy/Icon\r" rename to "docs/documentation/screenshots/legacy/Icon\r" diff --git a/documentation/screenshots/legacy/LANDING_PAGE_V4.pdf b/docs/documentation/screenshots/legacy/LANDING_PAGE_V4.pdf similarity index 100% rename from documentation/screenshots/legacy/LANDING_PAGE_V4.pdf rename to docs/documentation/screenshots/legacy/LANDING_PAGE_V4.pdf diff --git a/documentation/screenshots/legacy/Mon compte/MON COMPTE - 1 menu au survol@2x.png b/docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 1 menu au survol@2x.png similarity index 100% rename from documentation/screenshots/legacy/Mon compte/MON COMPTE - 1 menu au survol@2x.png rename to docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 1 menu au survol@2x.png diff --git a/documentation/screenshots/legacy/Mon compte/MON COMPTE - 2 Parametres@2x.png b/docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 2 Parametres@2x.png similarity index 100% rename from documentation/screenshots/legacy/Mon compte/MON COMPTE - 2 Parametres@2x.png rename to docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 2 Parametres@2x.png diff --git a/documentation/screenshots/legacy/Mon compte/MON COMPTE - 3Parametre - mot de passe@2x.png b/docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 3Parametre - mot de passe@2x.png similarity index 100% rename from documentation/screenshots/legacy/Mon compte/MON COMPTE - 3Parametre - mot de passe@2x.png rename to docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 3Parametre - mot de passe@2x.png diff --git a/documentation/screenshots/legacy/Mon compte/MON COMPTE - 4 Mes projets@2x.png b/docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 4 Mes projets@2x.png similarity index 100% rename from documentation/screenshots/legacy/Mon compte/MON COMPTE - 4 Mes projets@2x.png rename to docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 4 Mes projets@2x.png diff --git "a/documentation/screenshots/legacy/Mon compte/MON COMPTE - 5 Projets sauvegard\303\251s@2x.png" "b/docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 5 Projets sauvegard\303\251s@2x.png" similarity index 100% rename from "documentation/screenshots/legacy/Mon compte/MON COMPTE - 5 Projets sauvegard\303\251s@2x.png" rename to "docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 5 Projets sauvegard\303\251s@2x.png" diff --git "a/documentation/screenshots/legacy/Mon compte/MON COMPTE - 6 Projets sauvegard\303\251s - suppression@2x.png" "b/docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 6 Projets sauvegard\303\251s - suppression@2x.png" similarity index 100% rename from "documentation/screenshots/legacy/Mon compte/MON COMPTE - 6 Projets sauvegard\303\251s - suppression@2x.png" rename to "docs/documentation/screenshots/legacy/Mon compte/MON COMPTE - 6 Projets sauvegard\303\251s - suppression@2x.png" diff --git "a/documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1.pdf" "b/docs/documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1.pdf" similarity index 100% rename from "documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1.pdf" rename to "docs/documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1.pdf" diff --git "a/documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1.png" "b/docs/documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1.png" similarity index 100% rename from "documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1.png" rename to "docs/documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1.png" diff --git "a/documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1@2x.png" "b/docs/documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1@2x.png" similarity index 100% rename from "documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1@2x.png" rename to "docs/documentation/screenshots/legacy/Page \"projet\"/PAGE PROJET - 1@2x.png" diff --git a/documentation/screenshots/legacy/cis-front-backoffice-feedbacks.png b/docs/documentation/screenshots/legacy/cis-front-backoffice-feedbacks.png similarity index 100% rename from documentation/screenshots/legacy/cis-front-backoffice-feedbacks.png rename to docs/documentation/screenshots/legacy/cis-front-backoffice-feedbacks.png diff --git a/documentation/screenshots/legacy/cis-front-backoffice-users.png b/docs/documentation/screenshots/legacy/cis-front-backoffice-users.png similarity index 100% rename from documentation/screenshots/legacy/cis-front-backoffice-users.png rename to docs/documentation/screenshots/legacy/cis-front-backoffice-users.png diff --git a/documentation/screenshots/legacy/cis-front-feedback-form-beta-users-framaform.png b/docs/documentation/screenshots/legacy/cis-front-feedback-form-beta-users-framaform.png similarity index 100% rename from documentation/screenshots/legacy/cis-front-feedback-form-beta-users-framaform.png rename to docs/documentation/screenshots/legacy/cis-front-feedback-form-beta-users-framaform.png diff --git a/documentation/screenshots/legacy/cis-front-feedback-form-beta-users-kinto.png b/docs/documentation/screenshots/legacy/cis-front-feedback-form-beta-users-kinto.png similarity index 100% rename from documentation/screenshots/legacy/cis-front-feedback-form-beta-users-kinto.png rename to docs/documentation/screenshots/legacy/cis-front-feedback-form-beta-users-kinto.png diff --git a/documentation/screenshots/legacy/cis-front-landing-full.png b/docs/documentation/screenshots/legacy/cis-front-landing-full.png similarity index 100% rename from documentation/screenshots/legacy/cis-front-landing-full.png rename to docs/documentation/screenshots/legacy/cis-front-landing-full.png diff --git a/documentation/screenshots/legacy/cis-front-landing.png b/docs/documentation/screenshots/legacy/cis-front-landing.png similarity index 100% rename from documentation/screenshots/legacy/cis-front-landing.png rename to docs/documentation/screenshots/legacy/cis-front-landing.png diff --git a/documentation/screenshots/legacy/cis-front-login.png b/docs/documentation/screenshots/legacy/cis-front-login.png similarity index 100% rename from documentation/screenshots/legacy/cis-front-login.png rename to docs/documentation/screenshots/legacy/cis-front-login.png diff --git a/documentation/screenshots/legacy/cis-front-register.png b/docs/documentation/screenshots/legacy/cis-front-register.png similarity index 100% rename from documentation/screenshots/legacy/cis-front-register.png rename to docs/documentation/screenshots/legacy/cis-front-register.png diff --git a/documentation/screenshots/legacy/cis-front-user-index.png b/docs/documentation/screenshots/legacy/cis-front-user-index.png similarity index 100% rename from documentation/screenshots/legacy/cis-front-user-index.png rename to docs/documentation/screenshots/legacy/cis-front-user-index.png diff --git a/documentation/screenshots/legacy/cis-front-user-modal-who.png b/docs/documentation/screenshots/legacy/cis-front-user-modal-who.png similarity index 100% rename from documentation/screenshots/legacy/cis-front-user-modal-who.png rename to docs/documentation/screenshots/legacy/cis-front-user-modal-who.png diff --git a/documentation/screenshots/legacy/cis-front-user-search.png b/docs/documentation/screenshots/legacy/cis-front-user-search.png similarity index 100% rename from documentation/screenshots/legacy/cis-front-user-search.png rename to docs/documentation/screenshots/legacy/cis-front-user-search.png diff --git a/documentation/screenshots/list-view-apcis-01.png b/docs/documentation/screenshots/list-view-apcis-01.png similarity index 100% rename from documentation/screenshots/list-view-apcis-01.png rename to docs/documentation/screenshots/list-view-apcis-01.png diff --git a/documentation/screenshots/map-view-sonum-01.png b/docs/documentation/screenshots/map-view-sonum-01.png similarity index 100% rename from documentation/screenshots/map-view-sonum-01.png rename to docs/documentation/screenshots/map-view-sonum-01.png diff --git a/index.html b/docs/index.html similarity index 100% rename from index.html rename to docs/index.html diff --git a/static/logo_auth_microservice.png b/docs/static/logo_auth_microservice.png similarity index 100% rename from static/logo_auth_microservice.png rename to docs/static/logo_auth_microservice.png diff --git a/static/logo_auth_microservice_300px.png b/docs/static/logo_auth_microservice_300px.png similarity index 100% rename from static/logo_auth_microservice_300px.png rename to docs/static/logo_auth_microservice_300px.png diff --git a/static/logo_research.svg b/docs/static/logo_research.svg similarity index 100% rename from static/logo_research.svg rename to docs/static/logo_research.svg diff --git a/static/logos/logo_apiviz_15-271x64.png b/docs/static/logos/logo_apiviz_15-271x64.png similarity index 100% rename from static/logos/logo_apiviz_15-271x64.png rename to docs/static/logos/logo_apiviz_15-271x64.png diff --git a/static/logos/logo_apiviz_15.png b/docs/static/logos/logo_apiviz_15.png similarity index 100% rename from static/logos/logo_apiviz_15.png rename to docs/static/logos/logo_apiviz_15.png diff --git a/static/logos/logo_apiviz_icon_15-100x64.png b/docs/static/logos/logo_apiviz_icon_15-100x64.png similarity index 100% rename from static/logos/logo_apiviz_icon_15-100x64.png rename to docs/static/logos/logo_apiviz_icon_15-100x64.png diff --git a/static/logos/logo_apiviz_icon_15.png b/docs/static/logos/logo_apiviz_icon_15.png similarity index 100% rename from static/logos/logo_apiviz_icon_15.png rename to docs/static/logos/logo_apiviz_icon_15.png diff --git a/static/logos/logo_auth_microservice-76x64.png b/docs/static/logos/logo_auth_microservice-76x64.png similarity index 100% rename from static/logos/logo_auth_microservice-76x64.png rename to docs/static/logos/logo_auth_microservice-76x64.png diff --git a/static/logos/logo_auth_microservice.png b/docs/static/logos/logo_auth_microservice.png similarity index 100% rename from static/logos/logo_auth_microservice.png rename to docs/static/logos/logo_auth_microservice.png diff --git a/static/logos/logo_auth_microservice_300px.png b/docs/static/logos/logo_auth_microservice_300px.png similarity index 100% rename from static/logos/logo_auth_microservice_300px.png rename to docs/static/logos/logo_auth_microservice_300px.png diff --git a/static/logos/logo_openscraper.png b/docs/static/logos/logo_openscraper.png similarity index 100% rename from static/logos/logo_openscraper.png rename to docs/static/logos/logo_openscraper.png diff --git a/static/logos/logo_openscraper_01-85x64.png b/docs/static/logos/logo_openscraper_01-85x64.png similarity index 100% rename from static/logos/logo_openscraper_01-85x64.png rename to docs/static/logos/logo_openscraper_01-85x64.png diff --git a/static/logos/logo_openscraper_01.png b/docs/static/logos/logo_openscraper_01.png similarity index 100% rename from static/logos/logo_openscraper_01.png rename to docs/static/logos/logo_openscraper_01.png diff --git a/static/logos/logo_solidata-77x64.png b/docs/static/logos/logo_solidata-77x64.png similarity index 100% rename from static/logos/logo_solidata-77x64.png rename to docs/static/logos/logo_solidata-77x64.png diff --git a/static/logos/logo_solidata.png b/docs/static/logos/logo_solidata.png similarity index 100% rename from static/logos/logo_solidata.png rename to docs/static/logos/logo_solidata.png diff --git a/static/logos/logo_solidata_15a-380x64.png b/docs/static/logos/logo_solidata_15a-380x64.png similarity index 100% rename from static/logos/logo_solidata_15a-380x64.png rename to docs/static/logos/logo_solidata_15a-380x64.png diff --git a/static/logos/logo_solidata_15a_lg.png b/docs/static/logos/logo_solidata_15a_lg.png similarity index 100% rename from static/logos/logo_solidata_15a_lg.png rename to docs/static/logos/logo_solidata_15a_lg.png diff --git a/example.env.global b/example.env.global index 04093e7..f454d5e 100644 --- a/example.env.global +++ b/example.env.global @@ -6,30 +6,17 @@ APP_VERSION=0.4 RUN_MODE=dev_email DOCKER_MODE=docker_off DEBUG=true +HTTPS_MODE=false DOMAIN_ROOT=localhost DOMAIN_PORT=4100 -SERVER_NAME_TEST=True - SECRET_KEY=a-very-secret-key - -HTTPS_MODE=false +SERVER_NAME_TEST=True ### MONGODB ENV VARS - MONGODB_MODE=local -MONGO_ROOT_LOCAL=localhost -MONGO_ROOT_DOCKER=host.docker.internal - -MONGO_PORT_LOCAL=27017 - -MONGO_COLL_TAGS=tags -MONGO_COLL_USERS=users -MONGO_COLL_LICENCES=licences -MONGO_COLL_JWT_BLACKLIST=jwt_blacklist - ### AUTH SPECS ENV VARS RSA_MODE=no diff --git a/example.env.mongodb b/example.env.mongodb index f7c3e82..e0e7087 100644 --- a/example.env.mongodb +++ b/example.env.mongodb @@ -1,4 +1,9 @@ ### MONGODB ENV VARS +### to build mongodb URI + +MONGO_ROOT_LOCAL=localhost +MONGO_ROOT_DOCKER=host.docker.internal +MONGO_PORT_LOCAL=27017 MONGO_DBNAME=toktok MONGO_DBNAME_TEST=toktok-test