Skip to content

Commit

Permalink
chore: rename cloudmos/akashlytics to console
Browse files Browse the repository at this point in the history
  • Loading branch information
baktun14 committed Sep 13, 2024
1 parent 418d1d1 commit 85ff753
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 32 deletions.
4 changes: 2 additions & 2 deletions apps/api/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
image: <IMAGE_NAME>:<IMAGE_TAG>
depends-on: cloud-sql-proxy
env:
- AkashlyticsGithubPAT=
- ConsoleGithubPAT=
- AkashSandboxDatabaseCS=
- UserDatabaseCS=
- SecretToken=
Expand All @@ -23,7 +23,7 @@ services:
- port: 3080
as: 80
accept:
- api-sandbox-staging.cloudmos.io
- console-api-sandbox-staging.akash.network
to:
- global: true
cloud-sql-proxy:
Expand Down
2 changes: 1 addition & 1 deletion apps/api/env/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AKASHLYTICS_CORS_WEBSITE_URLS=https://cloudmos.io,https://www.cloudmos.io,http://debug.cloudmos.io,https://deploy.cloudmos.io,https://beta.cloudmos.io,https://stats.akash.network,https://console.akash.network,https://akash.network,https://akash.hooman.digital,http://localhost:3000,http://localhost:3001,https://beta2.cloudmos.io,https://beta3.cloudmos.io,https://akashconsole.vercel.app,https://console-beta.akash.network
CONSOLE_CORS_WEBSITE_URLS=https://stats.akash.network,https://console.akash.network,https://akash.network,https://akash.hooman.digital,http://localhost:3000,http://localhost:3001,https://akashconsole.vercel.app,https://console-beta.akash.network
WEBSITE_URL=https://console-beta.akash.network
TRIAL_DEPLOYMENT_ALLOWANCE_AMOUNT=10000000
DEPLOYMENT_ALLOWANCE_REFILL_AMOUNT=10000000
Expand Down
8 changes: 4 additions & 4 deletions apps/api/env/.env.production
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
AUTH0_JWKS_URI=https://cloudmos-prod.us.auth0.com/.well-known/jwks.json
AUTH0_AUDIENCE=https://api.cloudmos.io
AUTH0_ISSUER=https://auth.cloudmos.io/
AUTH0_JWKS_URI=https://console-prod.us.auth0.com/.well-known/jwks.json
AUTH0_AUDIENCE=https://console-api.akash.network
AUTH0_ISSUER=https://console-auth.akash.network/
PORT=80
SERVER_ORIGIN=https://api.cloudmos.io
SERVER_ORIGIN=https://console-api.akash.network
DRIZZLE_MIGRATIONS_FOLDER=./dist/drizzle
SENTRY_ENABLED=true
BILLING_ENABLED=false
Expand Down
4 changes: 2 additions & 2 deletions apps/api/env/.env.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Secrets
AKASH_DATABASE_CS=
AKASHLYTICS_GITHUB_PAT=
CONSOLE_GITHUB_PAT=
ANONYMOUS_USER_TOKEN_SECRET=
HealthChecks_SyncAKTMarketData=
MASTER_WALLET_MNEMONIC=
Expand All @@ -12,7 +12,7 @@ STRIPE_PRICE_ID=
USER_DATABASE_CS=

# Configuration
AKASHLYTICS_CORS_WEBSITE_URLS=
CONSOLE_CORS_WEBSITE_URLS=
AUTH0_AUDIENCE=
AUTH0_ISSUER=
AUTH0_JWKS_URI=
Expand Down
6 changes: 3 additions & 3 deletions apps/api/env/.env.staging
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
SERVER_ORIGIN=https://api-sandbox.cloudmos.io
SERVER_ORIGIN=https://console-api-sandbox.akash.network
DRIZZLE_MIGRATIONS_FOLDER=./dist/drizzle
AUTH0_JWKS_URI=https://dev-5aprb0lr.us.auth0.com/.well-known/jwks.json
AUTH0_AUDIENCE=https://api.cloudmos.io
AUTH0_AUDIENCE=https://console-api.akash.network
AUTH0_ISSUER=https://dev-5aprb0lr.us.auth0.com/
SENTRY_TRACES_RATE=1.0
SENTRY_ENABLED=true
BILLING_ENABLED=true
STRIPE_PRICE_ID=price_1Ps0Y0Csz6Fy2xVWVy8GMTA9
STRIPE_CHECKOUT_REDIRECT_URL=https://beta.cloudmos.io
STRIPE_CHECKOUT_REDIRECT_URL=https://console-beta.akash.network
2 changes: 1 addition & 1 deletion apps/api/src/utils/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { z } from "zod";

export const env = z
.object({
AKASHLYTICS_CORS_WEBSITE_URLS: z.string().optional(),
CONSOLE_CORS_WEBSITE_URLS: z.string().optional(),
NODE_ENV: z.string().optional(),
HEALTHCHECKS_ENABLED: z.string().optional(),
AKASH_DATABASE_CS: z.string().optional(),
Expand Down
2 changes: 1 addition & 1 deletion apps/api/test/mocks/hello-world-sdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: "2.0"
services:
web:
image: akashlytics/hello-akash-world:0.2.0
image: baktun/hello-akash-world:1.0.0
expose:
- port: 3000
as: 80
Expand Down
2 changes: 1 addition & 1 deletion apps/deploy-web/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
- port: 3040
as: 80
accept:
- providerproxy.console.akash.network
- provider-proxy.console.akash.network
to:
- global: true
profiles:
Expand Down
2 changes: 1 addition & 1 deletion apps/deploy-web/env/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
AUTH0_AUDIENCE=https://api.cloudmos.io
AUTH0_AUDIENCE=https://console.akash.network
AUTH0_SCOPE=openid profile email offline_access
12 changes: 6 additions & 6 deletions apps/deploy-web/env/.env.production
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AUTH0_BASE_URL=https://console.akash.network
AUTH0_ISSUER_BASE_URL=https://auth.cloudmos.io
AUTH0_ISSUER_BASE_URL=https://console-auth.akash.network

NEXT_PUBLIC_DEFAULT_NETWORK_ID=mainnet
NEXT_PUBLIC_BILLING_ENABLED=false
Expand All @@ -9,12 +9,12 @@ NEXT_PUBLIC_MANAGED_WALLET_DENOM=usdc
NEXT_PUBLIC_MASTER_WALLET_ADDRESS=akash1ss0d2yw38r6e7ew8ndye9h7kg62sem36zak4d5

NEXT_PUBLIC_STATS_APP_URL=https://stats.akash.network
NEXT_PUBLIC_PROVIDER_PROXY_URL=https://providerproxy.cloudmos.io
NEXT_PUBLIC_PROVIDER_PROXY_URL_WS=wss://providerproxy.cloudmos.io
NEXT_PUBLIC_PROVIDER_PROXY_URL=https://provider-proxy.akash.network
NEXT_PUBLIC_PROVIDER_PROXY_URL_WS=wss://provider-proxy.akash.network
NEXT_PUBLIC_NODE_ENV=$NODE_ENV
NEXT_PUBLIC_BASE_API_MAINNET_URL=https://api.cloudmos.io
NEXT_PUBLIC_BASE_API_SANDBOX_URL=https://api-sandbox.cloudmos.io
NEXT_PUBLIC_BASE_API_TESTNET_URL=https://api-testnet.cloudmos.io
NEXT_PUBLIC_BASE_API_MAINNET_URL=https://console-api.akash.network
NEXT_PUBLIC_BASE_API_SANDBOX_URL=https://console-api-sandbox.akash.network
NEXT_PUBLIC_BASE_API_TESTNET_URL=https://console-api-testnet.akash.network
NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL

BASE_API_MAINNET_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL
Expand Down
8 changes: 4 additions & 4 deletions apps/deploy-web/env/.env.staging
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ NEXT_PUBLIC_MANAGED_WALLET_DENOM=usdc
NEXT_PUBLIC_MASTER_WALLET_ADDRESS=akash1ss0d2yw38r6e7ew8ndye9h7kg62sem36zak4d5

NEXT_PUBLIC_STATS_APP_URL=https://stats.akash.network
NEXT_PUBLIC_PROVIDER_PROXY_URL=https://providerproxy.cloudmos.io
NEXT_PUBLIC_PROVIDER_PROXY_URL_WS=wss://providerproxy.cloudmos.io
NEXT_PUBLIC_PROVIDER_PROXY_URL=https://provider-proxy.akash.network
NEXT_PUBLIC_PROVIDER_PROXY_URL_WS=wss://provider-proxy.akash.network
NEXT_PUBLIC_NODE_ENV=$NODE_ENV
NEXT_PUBLIC_BASE_API_MAINNET_URL=https://api-mainnet-staging.cloudmos.io
NEXT_PUBLIC_BASE_API_SANDBOX_URL=https://api-sandbox-staging.cloudmos.io
NEXT_PUBLIC_BASE_API_MAINNET_URL=https://console-api-mainnet-staging.akash.network
NEXT_PUBLIC_BASE_API_SANDBOX_URL=https://console-api-sandbox-staging.akash.network
NEXT_PUBLIC_BASE_API_TESTNET_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL
NEXT_PUBLIC_API_BASE_URL=$NEXT_PUBLIC_BASE_API_MAINNET_URL

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const GetStartedStepper: React.FunctionComponent = () => {
<StepContent>
<p className="text-muted-foreground">
Deploy your first web app on Akash! This is a simple Next.js app and you can see the{" "}
<ExternalLink href="https://github.com/maxmaxlabs/hello-akash-world" text="source code here" />.
<ExternalLink href="https://github.com/akash-network/hello-akash-world" text="source code here" />.
</p>
<div className="my-4 space-x-2">
<Link
Expand Down
2 changes: 1 addition & 1 deletion apps/deploy-web/src/utils/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const helloWorldTemplate = {
code: "hello-world",
category: "General",
description: "Simple next.js web application showing hello world.",
githubUrl: "https://github.com/maxmaxlabs/hello-akash-world",
githubUrl: "https://github.com/akash-network/hello-akash-world",
valuesToChange: [],
content: `# Welcome to the Akash Network! 🚀☁
# This file is called a Stack Definition Laguage (SDL)
Expand Down
2 changes: 1 addition & 1 deletion apps/indexer/UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ CREATE INDEX IF NOT EXISTS block_totaluusdspent_is_null

## v1.3.0

Add columns to support multi-denom deployments ([PR #5](https://github.com/akash-network/console/pull/5)) and change fee type to numeric ([PR #40 in old repo](https://github.com/maxmaxlabs/cloudmos-mono/pull/40))
Add columns to support multi-denom deployments ([PR #5](https://github.com/akash-network/console/pull/5)) and change fee type to numeric

```
ALTER TABLE public.block ADD COLUMN "totalUUsdcSpent" double precision DEFAULT 0;
Expand Down
2 changes: 1 addition & 1 deletion apps/provider-console/src/components/layout/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const Sidebar: React.FunctionComponent<Props> = ({ isMobileOpen, handleDr
{
title: "API",
icon: props => <OpenInWindow {...props} />,
url: "https://api.cloudmos.io/v1/swagger",
url: "https://console-api.akash.network/v1/swagger",
activeRoutes: [],
target: "_blank"
},
Expand Down
2 changes: 1 addition & 1 deletion apps/provider-console/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const mainnetId = "mainnet";
export const testnetId = "testnet";
export const sandboxId = "sandbox";

const productionHostnames = ["deploy.cloudmos.io", "console.akash.network", "staging-console.akash.network", "beta.cloudmos.io"];
const productionHostnames = ["console.akash.network", "staging-console.akash.network"];

export const selectedRangeValues: { [key: string]: number } = {
"7D": 7,
Expand Down
1 change: 0 additions & 1 deletion apps/provider-proxy/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ const whitelist = [
"http://localhost:3000",
"https://cloudmos.grafana.net",
"https://console.akash.network",
"https://beta.cloudmos.io",
"https://staging-console.akash.network",
"https://akashconsole.vercel.app",
"https://console-beta.akash.network"
Expand Down

0 comments on commit 85ff753

Please sign in to comment.