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

Implement apache webserver configuration in setup script #7

Open
2 tasks
proffapt opened this issue Oct 1, 2023 · 0 comments
Open
2 tasks

Implement apache webserver configuration in setup script #7

proffapt opened this issue Oct 1, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@proffapt
Copy link
Owner

proffapt commented Oct 1, 2023

A webpage opens when someone enters the ip/url in the web browser instead of dc client. Integrate its setup into the current workflow.

  • Here's the page:
<!DOCTYPE html>
<html>

<head>

  <title>Oops!</title>

  <style>
    body {
        margin: 0;
        padding: 0;
        font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
        background-color: #f0f0f0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 80vh;
    }

    .container {
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
        padding: 20px;
        text-align: center;
    }

    h1 {
        font-size: 40px;
        margin-bottom: 10px;
    }

    p {
        font-size: 22px;
        color: #666;
    }

    a {
        text-decoration: none;
        color: #0070e0;
    }

    footer {
      margin-top: 7px;
      border-radius: 10px;
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
      padding: 20px;
      text-align: center;
      background-color: #333;
      color: #fff;
      width: 100%; /* Set the width of the footer to 100% */
      box-sizing: border-box; /* Include padding in the width calculation */
    }

    .copyright-link { /* Style the <a> tag in the footer */
        color: #fff;
        text-decoration: none;
    }

    .copyright-link:hover { /* Add hover style for <a> tag in the footer */
        text-decoration: underline;
    }

    /* Add a wrapper with display: flex to stack container and footer vertically */
    .wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
  </style>

</head>

<body>

  <div class="wrapper">
    <div class="container">

      <h1>Oops!</h1>

      <p>
        It looks like you have entered <u><b>dc.metakgp.org</b></u> in a web browser,<br>
        when it should have been entered into a DC client instead.
      </p>

      <p>
        For more information, read the <a href="https://bit.ly/dc-setup" target="_blank">DC Client Setup Guide</a>.
      </p>

      <p>
        Still facing some issue? Report it on the <a href="https://bit.ly/dc-issue" target="_blank">DC Issue Tracker Form</a>.<br>
        Join <b>#dc-discssions</b> on <a href="https://slack.metakgp.org">MetaKGP slack</a> for further discussions.
      </p>

    </div>

    <footer>
      &copy; <a class="copyright-link" href="https://metakgp.github.io/" target="_blank">MetaKGP</a> 2023
    </footer>
  </div>

</body>

</html>
  • Setup SSL cert for HTTPS - I have the detailed step captured in form of screenshots :/
@proffapt proffapt added enhancement New feature or request good first issue Good for newcomers labels Oct 1, 2023
@proffapt proffapt changed the title Implement apache webserver in setup script Implement apache webserver configuration in setup script Nov 17, 2023
@proffapt proffapt self-assigned this Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant