diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index beb0a9e2..01238da6 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -16,10 +16,6 @@ updates:
directory: "/packages/health-check"
schedule:
interval: monthly
- - package-ecosystem: npm
- directory: "/packages/website"
- schedule:
- interval: monthly
- package-ecosystem: docker
directory: "/docker/nginx"
schedule:
@@ -44,7 +40,3 @@ updates:
directory: "/packages/health-check"
schedule:
interval: monthly
- - package-ecosystem: docker
- directory: "/packages/website"
- schedule:
- interval: monthly
diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml
deleted file mode 100644
index 334e9718..00000000
--- a/.github/workflows/deploy-website.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-name: Deploy website to Skynet
-
-on:
- push:
- branches:
- - master
- paths:
- - "packages/website/**"
- pull_request:
- paths:
- - "packages/website/**"
-
-defaults:
- run:
- working-directory: packages/website
-
-env:
- PORTAL_DOMAIN: siasky.net
-
-jobs:
- build:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v3
- - uses: actions/setup-node@v3
- with:
- node-version: 16.x
- cache: yarn
- cache-dependency-path: packages/website/yarn.lock
-
- - run: yarn
- - run: yarn build
-
- - name: "Integration tests"
- uses: cypress-io/github-action@v3
- env:
- CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- working-directory: packages/website
- install: false
- record: true
- start: yarn develop
- wait-on: http://localhost:8000
- wait-on-timeout: 120
- config: baseUrl=http://localhost:8000
-
- - name: "Deploy to Skynet"
- uses: skynetlabs/deploy-to-skynet-action@v2
- with:
- upload-dir: packages/website/public
- github-token: ${{ secrets.GITHUB_TOKEN }}
- registry-seed: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && secrets.WEBSITE_REGISTRY_SEED || '' }}
diff --git a/.github/workflows/lint-dockerfiles.yml b/.github/workflows/lint-dockerfiles.yml
index 8c25c48f..4ca5678a 100644
--- a/.github/workflows/lint-dockerfiles.yml
+++ b/.github/workflows/lint-dockerfiles.yml
@@ -20,7 +20,6 @@ jobs:
- packages/dnslink-api/Dockerfile
- packages/handshake-api/Dockerfile
- packages/health-check/Dockerfile
- - packages/website/Dockerfile
steps:
- uses: actions/checkout@v3
- uses: hadolint/hadolint-action@v2.0.0
diff --git a/.github/workflows/lint-packages-website.yml b/.github/workflows/lint-packages-website.yml
deleted file mode 100644
index 795ed176..00000000
--- a/.github/workflows/lint-packages-website.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-name: Lint - packages/website
-
-on:
- pull_request:
- paths:
- - packages/website/**
-
-defaults:
- run:
- working-directory: packages/website
-
-jobs:
- build:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-node@v2
- with:
- node-version: 16.x
-
- - run: yarn
- - run: yarn prettier --check .
diff --git a/.gitignore b/.gitignore
index 8a98ee28..78c3ccb9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -67,10 +67,6 @@ yarn-error.log
# Yarn Integrity file
.yarn-integrity
-# Cypress
-packages/website/cypress/screenshots
-packages/website/cypress/videos
-
# Docker data
docker/data
diff --git a/docker-compose.yml b/docker-compose.yml
index 08095730..c3b2af6d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -91,9 +91,9 @@ services:
website:
# uncomment "build" and comment out "image" to build from sources
# build:
- # context: https://github.com/SkynetLabs/skynet-webportal.git#master
- # dockerfile: ./packages/website/Dockerfile
- image: skynetlabs/website
+ # context: https://github.com/SkynetLabs/webportal-website.git#main
+ # dockerfile: Dockerfile
+ image: skynetlabs/webportal-website:0.1.0
container_name: website
restart: unless-stopped
logging: *default-logging
diff --git a/packages/website/.gitignore b/packages/website/.gitignore
deleted file mode 100644
index 273856e6..00000000
--- a/packages/website/.gitignore
+++ /dev/null
@@ -1,74 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-
-# Runtime data
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Directory for instrumented libs generated by jscoverage/JSCover
-lib-cov
-
-# Coverage directory used by tools like istanbul
-coverage
-
-# nyc test coverage
-.nyc_output
-
-# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
-.grunt
-
-# Bower dependency directory (https://bower.io/)
-bower_components
-
-# node-waf configuration
-.lock-wscript
-
-# Compiled binary addons (http://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules/
-jspm_packages/
-
-# Typescript v1 declaration files
-typings/
-
-# Optional npm cache directory
-.npm
-
-# Optional eslint cache
-.eslintcache
-
-# Optional REPL history
-.node_repl_history
-
-# Output of 'npm pack'
-*.tgz
-
-# dotenv environment variable files
-.env*
-
-# gatsby files
-.cache/
-public
-
-# Mac files
-.DS_Store
-
-# Yarn
-yarn-error.log
-.pnp/
-.pnp.js
-
-# Yarn Integrity file
-.yarn-integrity
-
-# Cypress
-cypress/screenshots
-cypress/videos
diff --git a/packages/website/.prettierignore b/packages/website/.prettierignore
deleted file mode 100644
index c7a21a90..00000000
--- a/packages/website/.prettierignore
+++ /dev/null
@@ -1,5 +0,0 @@
-.cache
-package.json
-package-lock.json
-public
-static/piwik.js
diff --git a/packages/website/.prettierrc b/packages/website/.prettierrc
deleted file mode 100644
index 963354f2..00000000
--- a/packages/website/.prettierrc
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "printWidth": 120
-}
diff --git a/packages/website/Dockerfile b/packages/website/Dockerfile
deleted file mode 100644
index 101e76e6..00000000
--- a/packages/website/Dockerfile
+++ /dev/null
@@ -1,26 +0,0 @@
-FROM node:18.1.0-alpine
-
-RUN apk add --no-cache build-base~=0.5 python3~=3.9
-
-WORKDIR /usr/app
-
-# disable gatsby telemetry and installing cypress binary
-ENV GATSBY_TELEMETRY_DISABLED 1
-ENV CYPRESS_INSTALL_BINARY 0
-
-COPY packages/website/package.json \
- packages/website/yarn.lock \
- ./
-RUN yarn --frozen-lockfile
-
-COPY packages/website/data ./data
-COPY packages/website/src ./src
-COPY packages/website/static ./static
-COPY packages/website/gatsby-*.js \
- packages/website/postcss.config.js \
- packages/website/tailwind.config.js \
- ./
-
-EXPOSE 9000
-
-CMD ["sh", "-c", "yarn build && yarn serve --host 0.0.0.0"]
diff --git a/packages/website/cypress.json b/packages/website/cypress.json
deleted file mode 100644
index b8d2fc61..00000000
--- a/packages/website/cypress.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "baseUrl": "http://localhost:8000",
- "projectId": "gey76p",
- "videoUploadOnPasses": false
-}
diff --git a/packages/website/cypress/fixtures/example.json b/packages/website/cypress/fixtures/example.json
deleted file mode 100644
index 02e42543..00000000
--- a/packages/website/cypress/fixtures/example.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "name": "Using fixtures to represent data",
- "email": "hello@cypress.io",
- "body": "Fixtures are a great way to mock data for responses to routes"
-}
diff --git a/packages/website/cypress/integration/intergration.spec.js b/packages/website/cypress/integration/intergration.spec.js
deleted file mode 100644
index 93ebc234..00000000
--- a/packages/website/cypress/integration/intergration.spec.js
+++ /dev/null
@@ -1,34 +0,0 @@
-///
{text}
-- Your files are available for 90 days -
-
-
- Your files are available for 90 days,
-
- - Skynet is a hosting platform that makes it easy to join the decentralized - - internet movement. Create your account today. - - Skynet is a hosting platform that makes it easy to join the decentralized internet movement. Create your - account today. - -
-Last Updated: February 19, 2021
-- We are committed to protecting your privacy. That is because we base our business on trust you place in us. This - policy describes our practices regarding personal and account information collected through our website. -
-- We will periodically review the appropriateness of this privacy policy and may make, in our discretion, such - changes as are necessary. If we decide to change this privacy policy, we will post those changes here so that - you will always know what information we gather, how we might use that information, and whether we will disclose - it to anyone. You should visit our web site periodically to review any changes. -
-
- Yes – Skynet is designed as a publishing platform, so files are unencrypted by default. While we will not
- analyze or look at files stored via the
- If you want to encrypt your files to ensure privacy, you should do so before uploading to
-
- We plan to add future support for encryption groups, which would allow you to create your own encryption groups - and publish files on Skynet that can only be accessed within that group. -
-- The amount and type of personal and account information we collect from you depends on your activities and use - of our website. Below, we explain what information we collect under specific contexts. -
-Last Updated: November 29, 2021
-
- Welcome to
PLEASE READ ALL THE TERMS OF USE CAREFULLY
-- Use of the Website. By using the Website, you accept and agree to the provisions of the Terms of Use without any - reservations, modifications, additions or deletions. If you do not agree to any provisions contained in the - Terms of Use, you are not authorized to use the Website. You may be denied access to the Website, with or - without notice to you if you do not comply with any provisions of the Terms of Use. -
-- Amendments. We may from time to time modify the Terms of Use and will post a copy of the amended Terms of Use on - the Website, so we encourage you to review them periodically. If we make any substantial changes to the Terms of - Use, we will notify you by sending a notice to the email address you provided or by posting a prominent notice - on our pages. If you do not agree to, or cannot comply with, the Terms of Use as amended, you are not authorized - to use the Website. You will be deemed to have accepted the Terms of Use as amended if you continue to use the - Website after any amendments are posted on the Website. We reserve the right to refuse to provide our Services - to anyone at any time. -
- -- As detailed in our Privacy Policy, personal and account information will never be disclosed to third parties - under any circumstances other than to respond to subpoenas, court orders, or other legal process, as required by - law, or to establish or exercise our legal rights or defend against legal claims. We will never sell or share - any of this data. -
- -- Grant of License. Skynet Labs grants you a limited, nonexclusive, nontransferable, revocable license to access - and make personal use of the Website and the Services in accordance with the terms set forth in the Terms of - Use. Skynet Labs reserves all right, title and interest not expressly granted under this license to the fullest - extent possible under applicable laws. You may not sublicense, assign, or transfer the license granted to you - under the Terms of Use, and any attempt to sublicense, assign, or transfer any part of your rights under the - Terms of Use is void. -
- -- Restrictions and Prohibited Acts. So that the Website is available for all users to enjoy, you - may not, and hereby represent, warrant and covenant that you will not or permit or enable third party to: -
-- use the Website in any way that (i) violates the terms of the Terms of Use; (ii) is unlawful, harmful, - threatening, tortious, defamatory, libellous, abusive, obscene, invasive of another's privacy, hateful, - fraudulent or malicious; (iii) involves the transmission of "junk mail," "chain letters," or unsolicited mass - mailing or "spamming"; (iv) involves the sending of any virus, Trojan horse, worm, harmful code, shutdown - mechanism or similar mechanism; (v) interferes with or disrupts the Website or any server or network involved - with the operation of the Website; or (vi) otherwise violates any local, national or other applicable law or - regulation; use our Services to harm, in any way, the operation of any website that you do not own or operate, - including, without limitation, by generating recurring traffic to such website through the conduct of tests - using our Services; modify, publish, transmit, transfer or sell, reproduce, create derivative works from, - distribute, perform, display or in any way exploit any of the content of the Website in whole or in part, except - as expressly permitted; or use automated tools to operate the Services on the Website (scripts, etc.). - Sanctions. ANY USE OF THE WEBSITE NOT SPECIFICALLY PERMITTED UNDER THE TERMS OF USE IS STRICTLY PROHIBITED AND - MAY RESULT, AT SKYNET LABS’ DISCRETION, IN THE DELETION OF YOUR DATA AND/OR THE BLACKLISTING OF YOUR IP ADDRESS. -
-- Contact. Any misuse of the Services may be reported to{" "} - - {emails.report} - -
- -- Interruptions. You acknowledge that: (i) your access to and use of the Website and/or the - provision Services may be suspended for the duration of any unanticipated or unscheduled downtime or - unavailability of any portion or all of the Website for any reason, including as a result of power outages, - system failures or other interruptions; and (ii) we shall also be entitled, without any liability to you, to - suspend access to any portion or all of the Website and/or the Services at any time (a) for scheduled downtime - to permit us to conduct maintenance or make modifications to any service; (b) in the event of a denial of - service attack or other attack on the Website or other event that we determine, in our sole discretion, that a - risk to the applicable service, to you or to any of our other users may be created if the Service were not - suspended; or (c) in the event that we determine that any Service is prohibited by law or we otherwise determine - that it is necessary or prudent to do so for legal or regulatory reasons (collectively, "Service Suspensions"). - We shall have no liability whatsoever for any damage, liabilities, losses (including any loss of data or - profits) or any other consequences that you may incur as a result of any Service Suspension. -
-- Watch of Interruptions. To the extent we are able, we will endeavour to post updates on the - Website regarding any Service Suspension and resumption of service following any such suspension, but shall have - no liability for the manner in which we may do so or if we fail to do so. -
- -- Your Responsibility for Security. You are solely responsible for maintaining the - confidentiality of your Account Information and for restricting access to your computer while logged into the - Website. You agree to accept responsibility for all activities that occur under your account or from your - computer. -
- -- No Security Guarantee. We endeavour to use reasonable security measures to protect against - unauthorized access to your account. We cannot, however, guarantee absolute security of your account or the - personal information we collect, and we cannot promise that our security measures will prevent third party - "hackers" from illegally accessing the Website or its contents. You agree to immediately notify Skynet Labs of - any unauthorized use or your account, or any other breach of security, and you accept all risks of unauthorized - access to the Website, your Account Information and any other information you provide to Skynet Labs. -
-- Disclaimer and Indemnity. Skynet Labs will not be responsible for any losses arising out of the - unauthorized use of your account and you agree to indemnify and hold harmless Skynet Labs, its shareholders, - officers, directors, agents, employees, partners and/or licensors, as applicable, for any improper, unauthorized - or illegal uses of your account. -
- -- Trademarks and Copyright. The following are trademarks (registered or not) of Skynet Labs: "Nebulous", "Skynet", - as well as certain other Skynet Labs trademarks, service marks, graphics, and logos (collectively, the - "Trademarks") used in connection with the Website and the provision of Services. The Website may also contain - third-party trademarks, service marks, graphics, and logos (collectively, the "Other Trademarks"). -
-- All content displayed on the Website used in connection with the Services is the exclusive property of Skynet - Labs or third parties and is protected by copyright laws. -
-- No License. Nothing appearing on the Website will be construed as granting you any license, - right, title or interest relating to the Trademarks, the Other Trademarks or other intellectual property used in - connection with the Website and/or the Services (collectively, the "Intellectual Property") and the Intellectual - Property remains the exclusive property of Skynet Labs or owners. You agree not to copy, reproduce or use any - Intellectual Property without our prior written consent, except for what is made available as open source under - the MIT license by Skynet Labs on Github and Gitlab. -
-- Feedback. If you choose to communicate to us suggestions for improvements to the Website - (collectively, "Feedback"), we shall own all right, title, and interest in and to the Feedback and we shall be - entitled to use the Feedback without restriction. You hereby irrevocably assign all right, title and interest in - and to the Feedback to us and waive all you moral rights in the Feedback, and agree to provide us such - assistance as we may require to document, perfect, and maintain our rights to the Feedback. You acknowledge and - agree that: (i) your Feedback does not contain confidential or proprietary information; (ii) Skynet Labs is not - under any obligation of confidentiality, express or implied, with respect to the Feedback; (iii) Skynet Labs - shall be entitled to use or disclose (or choose not to use or disclose) such Feedback for any purpose, in any - way, in any media worldwide; (iv) Skynet Labs may have something similar to the Feedback already under - consideration or in development; and (v) you are not entitled to any compensation or reimbursement of any kind - from Skynet Labs under any circumstances. -
- -- "AS IS" BASIS. THE WEBSITE (INCLUDING ALL OF THE CONTENT AND SERVICES AVAILABLE ON THE WEBSITE) ARE PROVIDED TO - YOU "AS IS." ANY USE OF THIS WEBSITE IS AT YOUR OWN RISK. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, - SKYNET LABS DISCLAIMS ALL REPRESENTATIONS, WARRANTIES OR CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT - NOT LIMITED TO, IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, MERCHANTABLE QUALITY, DURABILITY, FITNESS - FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. SKYNET LABS MAKES NO REPRESENTATIONS, WARRANTIES OR - GUARANTEES THAT THE WEBSITE WILL BE FREE FROM LOSS, DESTRUCTION, DAMAGE, CORRUPTION, ATTACK, VIRUSES, - INTERFERENCE, HACKING, OR OTHER SECURITY INTRUSION, AND SKYNET LABS DISCLAIMS ANY LIABILITY RELATING THERETO. -
-- Warranty Disclaimer. SKYNET LABS MAKES NO REPRESENTATIONS, WARRANTIES OR GUARANTEES THAT THE - USE OR THE RESULTS OF THE USE OF THE WEBSITE (INCLUDING ALL OF ITS CONTENT OR SERVICES) ARE OR WILL BE ACCURATE, - RELIABLE, CURRENT, UNINTERRUPTED OR WITHOUT ERRORS. WITHOUT PRIOR NOTICE, SKYNET LABS MAY MODIFY, SUSPEND, OR - DISCONTINUE ANY ASPECT OR FEATURE OF THE WEBSITE OR YOUR USE OF THIS WEBSITE. IF SKYNET LABS ELECTS TO MODIFY, - SUSPEND, OR DISCONTINUE THE WEBSITE, IT WILL NOT BE LIABLE TO YOU OR ANY THIRD PARTY. -
-- Limitation of Liability. IN NO CASE WILL SKYNET LABS, ITS OFFICERS, DIRECTORS, SHAREHOLDERS, - AGENTS, LICENSORS OR EMPLOYEES BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, EXEMPLARY, PUNITIVE DAMAGES - OR OTHER DAMAGES, OR FOR ANY LOSSES, DAMAGES, LIABILITIES, COSTS AND EXPENSES ARISING OUT OF OR RELATING TO YOUR - USE OF THE WEBSITE, REGARDLESS OF THE CAUSE OF ACTION (WHETHER IN CONTRACT, WARRANTY, DELICT, QUASI-DELICT, - TORT, NEGLIGENCE, STRICT LIABILITY OR ANY OTHER THEORY OF LIABILITY) AND EVEN IF SKYNET LABS HAS BEEN ADVISED OF - THE POSSIBILITY OF SUCH DAMAGES. -
-- Indemnity. YOU WILL INDEMNIFY AND HOLD SKYNET LABS, ITS OFFICERS, DIRECTORS, SHAREHOLDERS, - AGENTS, LICENSORS AND EMPLOYEE HARMLESS WITH RESPECT TO ANY SUITS, CLAIMS OR DEMANDS (INCLUDING REASONABLE - LAWYERS' FEES) ARISING OUT OF (I) YOUR BREACH OF THESE TERMS OF USE; (II) ANY DAMAGES BY YOU OR YOUR USE OF THE - WEBSITE CAUSED TO A THIRD PARTY; OR (III) YOUR USE OR MISUSE OF THE WEBSITE AND/OR THE SERVICES. -
- -
- Your use of the Website is also subject to
- No Partnership. No agency, partnership, joint venture, or employment is created between you and - Skynet Labs as a result of the Terms of Use and you do not have any authority of any kind to bind Skynet Labs in - any respect whatsoever. -
-- Applicable Law; Jurisdiction. The Terms of Use shall be governed by and construed in accordance - with the laws of Delaware, applicable to agreements made and entirely to be performed within Delaware, excluding - any rules of private international law or the conflict of laws which would lead to the application of any other - laws. Regardless of where you access this site, you agree that any action at law or in equity arising out of or - relating to these Terms of Use shall be filed and adjudicated only in the federal or provincial courts located - in Delaware, and you hereby irrevocably and unconditionally consent and attorn to the exclusive jurisdiction and - venue of such courts over any suit, action or proceeding arising out of these Terms of Use. -
-- Severability. If any of the provisions of the Terms of Use or their application is found to be - invalid under any applicable statute or rule or law, they are, to that extent, deemed omitted and the validity - of the other provisions of the Terms of Use will not be affected. -
-- Questions. If you have any questions regarding the Terms of Use or wish to report any issue - relating to the Website, its content or the Services you were provided, please contact us by email at{" "} - - {emails.contact} - - . -
-