-
Notifications
You must be signed in to change notification settings - Fork 8
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
use without FQDN #2
Comments
You can either run the development mode (postgres -> sqlite, apache/gunicorn -> flask dev server, redis -> python thread). Or substitute the nginx config with https://github.com/AECgeeks/ifc-pipeline/blob/voxels/nginx_http_only/app.conf to disable ssl |
Hi I tried to apply app.conf for nginx, which basically works, but redirects to a "buildingsmart" authentication homepage. |
Good point. I think it's sufficient to replace these lines https://github.com/buildingSMART/validate/blob/release/application/main.py#L132-L143 So that the def login_required(f):
@wraps(f)
def decorated_function(*args, **kwargs):
user_data = {'sub': 'my-user-id-0', 'email': '[email protected]', 'name': 'Test User', 'given_name': 'Test', 'family_name': 'User'}
return f(user_data, *args, **kwargs)
return decorated_function Maybe we should restructure things so that it's possible to configure the code to behave like this from the outside. If you have some ideas feel free to send in a Pull Request ;) |
thanks a lot for your help! Got it running. |
I think there is a misunderstanding. The [Start validation] button starts the upload and adds the tasks to the queue, so in your case most likely immediately begins processing. |
ah ok thanks - it's just when I select a ifc file with the dialog, there is some "movement" on the white bar inside the window here - so I thought that might indicate an "upload". Thanks for clarification. |
I'd like to try starting this service with docker compose, but as I am "inside" a network there will be no DNS resolution (from outside - that means no letsencrypt or something like this)
Is there a possibility to get this running without fully qualified domain names (e.g. without having to use init.sh)?
I tried to start it but it seems nginx is not answering (starting) without having the certificates available.
The text was updated successfully, but these errors were encountered: