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

Configuration - commandline arguments #1

Open
sep3 opened this issue Sep 3, 2020 · 1 comment
Open

Configuration - commandline arguments #1

sep3 opened this issue Sep 3, 2020 · 1 comment

Comments

@sep3
Copy link

sep3 commented Sep 3, 2020

Hello, I was unable to reproduce the project, It would be interesting to have a tutorial.
How are these arguments supposed to look? Thank you

# infra/ctfd/BUILD.bazel
env = {
        # FIXME: configure DATABASE_URL and SECRET_KEY here
        "SECRET_KEY": "AAAA",
        "DATABASE_URL": "mysql+pymysql://user:AAAA@localhost/ctfdb",
},

# infra/isodb/BUILD.bazel
args = [
    # FIXME: configure dbaddr here
    "mysql+pymysql://user:AAAA@localhost/ctfdb",
],

# infra/gaia/BUILD.bazel
args = [
    # FIXME: configure dbaddr here
    "mysql+pymysql://user:AAAA@localhost/ctfdb",
],

# infra/flaganizer/BUILD.bazel
args = [
    # FIXME: configure flag_key here
    "flag_key": AAAA,
],

# infra/ctfproxy/BUILD.bazel
args = [
    # FIXME: configure ssl_cert, ssl_key, mtls_ca here. See config.go for more optional configuration
    ssl_cert = /etc/letsencrypt/live/CTFProxy/cert.pem,
    ssl_key = /etc/letsencrypt/live/CTFProxy/privkey.pem,
    mtls_ca = /etc/letsencrypt/live/CTFProxy/fullchain.pem,
    
    # FIXME: configure cert_gcs_bucket gcp_service_account gcp_project here
    ?
],
@minhnq1618
Copy link

Hi, i am also trying to use this project but having a hard time understand it, had you made any more progress on how to reproduce the project to make it running ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants