Skip to content

Commit

Permalink
[DO NOT MERGE] Dotcom switch (#608)
Browse files Browse the repository at this point in the history
* Update to railway.com

* up.railway.com -> up.railway.app

---------

Co-authored-by: Brody <[email protected]>
  • Loading branch information
unicodeveloper and brody192 authored Nov 15, 2024
1 parent 85353c3 commit c4da90b
Show file tree
Hide file tree
Showing 92 changed files with 282 additions and 282 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 📚 Railway Documentation

Visit [docs.railway.app](https://docs.railway.app)
Visit [docs.railway.com](https://docs.railway.com)

![og](https://railway.app/og.png)
![og](https://railway.com/og.png)

## 💡 About

Expand Down
2 changes: 1 addition & 1 deletion meilisearch-docs-scraper.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"index_uid": "docs_railway_app_production",
"start_urls": [
{
"url": "https://docs.railway.app/"
"url": "https://docs.railway.com/"
}
],
"js_render": false,
Expand Down
2 changes: 1 addition & 1 deletion next-sitemap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
// If we're on the prod environment, remap to the linked domain,
// otherwise use the provided static URL.
RAILWAY_STATIC_URL === "railway-docs-production.up.railway.app"
? "https://docs.railway.app/"
? "https://docs.railway.com/"
: `https://${RAILWAY_STATIC_URL}/`,
generateRobotsTxt: true,
};
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ const nextConfig = withContentlayer({
images: {
remotePatterns: [
{ protocol: 'https', hostname: 'user-images.githubusercontent.com' },
{ protocol: 'https', hostname: 'railway.app' },
{ protocol: 'https', hostname: 'railway.com' },
{ protocol: 'https', hostname: 'res.cloudinary.com' },
{ protocol: 'https', hostname: 'devicons.railway.app' },
{ protocol: 'https', hostname: 'devicons.railway.com' },
],
},
async redirects() {
Expand Down
26 changes: 13 additions & 13 deletions public/static/faq.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"Why did my app root didn't return a 200?"
],
"answer": "Your application needs to have a PORT variable configured to tell Railway to expose the right port to the internet. You can configure a PORT variable under the variables pane in your project.",
"link": "https://docs.railway.app/deploy/exposing-your-app"
"link": "https://docs.railway.com/deploy/exposing-your-app"
},
"account-verification": {
"category": "security",
Expand All @@ -27,7 +27,7 @@
"Where are the Railway servers located?"
],
"answer": "Railway's infrastructure spans multiple regions across the globe. This allows you to deploy your applications closer to your users no matter where they are located. This feature is only available to Pro plan workspaces.",
"link": "https://docs.railway.app/deploy/deployments#regions"
"link": "https://docs.railway.com/deploy/deployments#regions"
},
"db-backups": {
"category": "general",
Expand All @@ -45,7 +45,7 @@
"Can I use custom domains?"
],
"answer": "Yes, you can set up multiple custom domains per project and environment!",
"link": "https://docs.railway.app/deploy/exposing-your-app"
"link": "https://docs.railway.com/deploy/exposing-your-app"
},
"ssh": {
"category": "general",
Expand All @@ -63,7 +63,7 @@
"Is there support for monorepos?"
],
"answer": "Yes! See how in our documentation.",
"link": "https://docs.railway.app/deploy/monorepo"
"link": "https://docs.railway.com/deploy/monorepo"
},
"docker": {
"category": "general",
Expand All @@ -74,7 +74,7 @@
"Can I use docker compose on Railway?"
],
"answer": "You can use a Dockerfile with Railway but we do not support using docker-compose at this moment.",
"link": "https://docs.railway.app/deploy/dockerfiles"
"link": "https://docs.railway.com/deploy/dockerfiles"
},
"plugin-connection": {
"category": "general",
Expand All @@ -89,7 +89,7 @@
"category": "general",
"questions": ["Where do I submit a feature request?"],
"answer": "Feature requests are greatly appreciated! You can submit a feature request on our feedback page.",
"link": "https://feedback.railway.app/"
"link": "https://feedback.railway.com/"
},
"fair-use": {
"category": "security",
Expand All @@ -100,7 +100,7 @@
"What repos are banned?"
],
"answer": "You can see our Fair Use policy to determine what you can host",
"link": "https://railway.app/legal/fair-use"
"link": "https://railway.com/legal/fair-use"
},
"server-restart": {
"category": "security",
Expand Down Expand Up @@ -131,7 +131,7 @@
"Where can I set up 2FA?"
],
"answer": "You can set up an TOTP (Time Based One Time Password) app under your Account Security page to enable Two-Factor Authentication.",
"link": "https://railway.app/account/security"
"link": "https://railway.com/account/security"
},
"free-plan-limits": {
"category": "pricing",
Expand All @@ -142,13 +142,13 @@
"How do I add a credit card?"
],
"answer": "You can upgrade on your Account Management portal under the Billing page.",
"link": "https://railway.app/account/billing"
"link": "https://railway.com/account/billing"
},
"usage-calc": {
"category": "pricing",
"questions": ["How does Railway calculate usage?"],
"answer": "We calculate RAM and CPU usage to the minute. Our rates are $0.000231 / GB / minute for RAM and $0.000463 / vCPU / minute for compute.",
"link": "https://railway.app/pricing"
"link": "https://railway.com/pricing"
},
"free-plan": {
"category": "pricing",
Expand All @@ -157,7 +157,7 @@
"Free plan limits?"
],
"answer": "Deploys on the Trial plan get 512 MB memory and 1GB of disk, with up to $5 of usage per month.",
"link": "https://railway.app/pricing"
"link": "https://railway.com/pricing"
},
"no-credits": {
"category": "pricing",
Expand All @@ -169,7 +169,7 @@
"category": "pricing",
"questions": ["How do I see my project's usage?"],
"answer": "Under the project usage tab under the Account dropdown menu.",
"link": "https://railway.app/account/billing"
"link": "https://railway.com/account/billing"
},
"bug-reporting": {
"category": "misc",
Expand All @@ -178,7 +178,7 @@
"Where do I report a bug?"
],
"answer": "You can report a bug on our dedicated Bug Report Canny page. Bug reports are happily accepted!",
"link": "https://feedback.railway.app/bug-reports"
"link": "https://feedback.railway.com/bug-reports"
},
"hiring": {
"category": "misc",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const Nav: React.FC = () => {
<ul>
<li>
<Link
href="https://railway.app/login"
href="https://railway.com/login"
tw="flex items-center space-x-2 text-gray-400 text-sm hover:text-pink-500"
>
<Home tw="w-4 h-4" />
Expand Down
4 changes: 2 additions & 2 deletions src/components/SEO.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export interface Props extends NextSeoProps {
}

const title = "Railway Docs";
export const url = "https://docs.railway.app";
export const url = "https://docs.railway.com";
const description = "Documentation for Railway";
const image = "https://docs.railway.app/og.png";
const image = "https://docs.railway.com/og.png";

const config: DefaultSeoProps = {
title,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Search/NoResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const NoResults: React.FC = () => {
<div>
<p css={tw`mb-4 text-center`}>Reach out to us if you need help:</p>
<div css={tw`flex flex-row gap-4 items-center justify-center`}>
<ContactButton href="https://help.railway.app/">
<ContactButton href="https://help.railway.com/">
<RailwayIcon />
Railway Help Station
</ContactButton>
Expand Down
12 changes: 6 additions & 6 deletions src/data/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const sidebarContent: ISidebarContent = [
pages: [
{
title: "Deploy Offen",
url: "https://blog.railway.app/p/offen-web-analytics",
url: "https://blog.railway.com/p/offen-web-analytics",
},
],
},
Expand All @@ -159,11 +159,11 @@ export const sidebarContent: ISidebarContent = [
pages: [
{
title: "Queues on Railway",
url: "https://blog.railway.app/p/queues",
url: "https://blog.railway.com/p/queues",
},
{
title: "Gitlab CI/CD with Railway",
url: "https://blog.railway.app/p/gitlab-ci-cd",
url: "https://blog.railway.com/p/gitlab-ci-cd",
},
makePage("Set Up a Datadog Agent", "tutorials"),
makePage("Deploy an Otel Collector Stack", "tutorials"),
Expand All @@ -179,11 +179,11 @@ export const sidebarContent: ISidebarContent = [
pages: [
{
title: "Backing Up Redis",
url: "https://blog.railway.app/p/redis-backup",
url: "https://blog.railway.com/p/redis-backup",
},
{
title: "Backing Up Postgres",
url: "https://blog.railway.app/p/postgre-backup",
url: "https://blog.railway.com/p/postgre-backup",
},
],
},
Expand All @@ -192,7 +192,7 @@ export const sidebarContent: ISidebarContent = [
pages: [
{
title: "GitHub Actions",
url: "https://blog.railway.app/p/github-actions",
url: "https://blog.railway.com/p/github-actions",
},
],
},
Expand Down
6 changes: 3 additions & 3 deletions src/docs/guides/astro.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ If you’re looking for the fastest way to get started, the one-click deploy opt

Click the button below to begin:

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/Ic0JBh)
[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/new/template/Ic0JBh)

We highly recommend that [you eject from the template after deployment](/guides/deploy#eject-from-template-repository) to create a copy of the repo on your GitHub account.

**Note:** You can also choose from a <a href="https://railway.app/templates?q=astro" target="_blank">variety of Astro app templates</a> created by the community.
**Note:** You can also choose from a <a href="https://railway.com/templates?q=astro" target="_blank">variety of Astro app templates</a> created by the community.

### Deploy from the CLI

Expand Down Expand Up @@ -177,7 +177,7 @@ width={2556} height={2164} quality={100} />
To deploy an Astro app to Railway directly from GitHub, follow the steps below:
1. **Create a New Project on Railway**:
- Go to <a href="https://railway.app/new" target="_blank">Railway</a> to create a new project.
- Go to <a href="https://railway.com/new" target="_blank">Railway</a> to create a new project.
2. **Deploy from GitHub**:
- Select **Deploy from GitHub repo** and choose your repository.
- If your Railway account isn’t linked to GitHub yet, you’ll be prompted to do so.
Expand Down
6 changes: 3 additions & 3 deletions src/docs/guides/axum.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ If you’re looking for the fastest way to get started, the one-click deploy opt

Click the button below to begin:

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/5HAMxu)
[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/new/template/5HAMxu)

We highly recommend that [you eject from the template after deployment](/guides/deploy#eject-from-template-repository) to create a copy of the repo on your GitHub account.

**Note:** You can also choose from a <a href="https://railway.app/templates?q=axum" target="_blank">variety of Axum templates</a> created by the community.
**Note:** You can also choose from a <a href="https://railway.com/templates?q=axum" target="_blank">variety of Axum templates</a> created by the community.

### Deploy from the CLI

Expand Down Expand Up @@ -146,7 +146,7 @@ width={1982} height={1822} quality={100} />
To deploy an Axum app to Railway directly from GitHub, follow the steps below:
1. **Create a New Project on Railway**:
- Go to <a href="https://railway.app/new" target="_blank">Railway</a> to create a new project.
- Go to <a href="https://railway.com/new" target="_blank">Railway</a> to create a new project.
2. **Deploy from GitHub**:
- Select **Deploy from GitHub repo** and choose your repository.
- If your Railway account isn’t linked to GitHub yet, you’ll be prompted to do so.
Expand Down
6 changes: 3 additions & 3 deletions src/docs/guides/beego.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ If you’re looking for the fastest way to get started, the one-click deploy opt

Click the button below to begin:

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/CPq9Ry)
[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/new/template/CPq9Ry)

We highly recommend that [you eject from the template after deployment](/guides/deploy#eject-from-template-repository) to create a copy of the repo on your GitHub account.

**Note:** You can also choose from a <a href="https://railway.app/templates?q=beego" target="_blank">variety of Beego app templates</a> created by the community.
**Note:** You can also choose from a <a href="https://railway.com/templates?q=beego" target="_blank">variety of Beego app templates</a> created by the community.

### Deploy from the CLI

Expand Down Expand Up @@ -203,7 +203,7 @@ width={2420} height={1986} quality={100} />
To deploy a Beego app to Railway directly from GitHub, follow the steps below:
1. **Create a New Project on Railway**:
- Go to <a href="https://railway.app/new" target="_blank">Railway</a> to create a new project.
- Go to <a href="https://railway.com/new" target="_blank">Railway</a> to create a new project.
2. **Deploy from GitHub**:
- Select **Deploy from GitHub repo** and choose your repository.
- If your Railway account isn’t linked to GitHub yet, you’ll be prompted to do so.
Expand Down
12 changes: 6 additions & 6 deletions src/docs/guides/build-a-database-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ Remember you can also deploy from a Dockerfile which would generally involve the

### Template Marketplace

Need inspiration or looking for a specific database? Our <a href="https://railway.app/templates" target="_blank">Template Marketplace</a> already includes solutions for many different database services. You might even find a template for the database you need!
Need inspiration or looking for a specific database? Our <a href="https://railway.com/templates" target="_blank">Template Marketplace</a> already includes solutions for many different database services. You might even find a template for the database you need!

Here are some suggestions to check out -
- <a href="https://railway.app/template/SMKOEA" target="_blank">Minio</a>
- <a href="https://railway.app/template/clickhouse" target="_blank">ClickHouse</a>
- <a href="https://railway.app/template/dragonfly" target="_blank">Dragonfly</a>
- <a href="https://railway.app/template/tifygm" target="_blank">Chroma</a>
- <a href="https://railway.app/template/elasticsearch" target="_blank">Elastic Search</a>
- <a href="https://railway.com/template/SMKOEA" target="_blank">Minio</a>
- <a href="https://railway.com/template/clickhouse" target="_blank">ClickHouse</a>
- <a href="https://railway.com/template/dragonfly" target="_blank">Dragonfly</a>
- <a href="https://railway.com/template/tifygm" target="_blank">Chroma</a>
- <a href="https://railway.com/template/elasticsearch" target="_blank">Elastic Search</a>
2 changes: 1 addition & 1 deletion src/docs/guides/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Before you can use the Railway CLI, you must authenticate the CLI to your Railwa
railway login
```

This command opens a new tab in your default browser to the [https://railway.app](https://railway.app)
This command opens a new tab in your default browser to the [https://railway.com](https://railway.com)
authentication page. Follow the instructions to complete the authentication process.

### Manual Login
Expand Down
6 changes: 3 additions & 3 deletions src/docs/guides/config-as-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ For example, these configuration definitions are equivalent:
<div style={{ flex: '1 1 50%', overflow: 'auto', minWidth: '200px', maxWidth: '350px' }}>
```json
{
"$schema": "https://railway.app/railway.schema.json",
"$schema": "https://railway.com/railway.schema.json",
"build": {
"builder": "nixpacks",
"buildCommand": "echo building!"
Expand All @@ -61,13 +61,13 @@ For example, these configuration definitions are equivalent:

## JSON Schema

You can find an always up-to-date [JSON schema](https://json-schema.org/) at [railway.app/railway.schema.json](https://railway.app/railway.schema.json).
You can find an always up-to-date [JSON schema](https://json-schema.org/) at [railway.com/railway.schema.json](https://railway.com/railway.schema.json).

If you include it in your `railway.json` file, many editors (e.g. VSCode) will provide autocomplete and documentation.

```json
{
"$schema": "https://railway.app/railway.schema.json"
"$schema": "https://railway.com/railway.schema.json"
}
```

Expand Down
10 changes: 5 additions & 5 deletions src/docs/guides/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Creating a template allows you to capture your infrastructure in a reusable and

By defining services, environment configuration, network settings, etc., you lay the foundation for others to deploy the same software stack with the click of a button.

If you [publish your template](/guides/publish-and-share) to the <a href="https://railway.app/templates" target="_blank">marketplace</a>, you can even <a href="https://railway.app/open-source-kickback" target="_blank">collect a kickback</a> from the usage of it!
If you [publish your template](/guides/publish-and-share) to the <a href="https://railway.com/templates" target="_blank">marketplace</a>, you can even <a href="https://railway.com/open-source-kickback" target="_blank">collect a kickback</a> from the usage of it!

## How to Create a Template

You can either create a template from scratch or base it off of an existing project.

### Starting from Scratch

To create a template from scratch, head over to the <a href="https://railway.app/compose" target="_blank">template composer</a> then add and configure your services:
To create a template from scratch, head over to the <a href="https://railway.com/compose" target="_blank">template composer</a> then add and configure your services:

- Add a service by clicking the `Add New` button in the top right-hand corner, or through the command palette (`CMD + K` -> `+ New Service`)
- Select the service source (GitHub repo or Docker Image)
Expand All @@ -37,7 +37,7 @@ It's now possible to specify a private GitHub repo when creating a template.

This feature is intended for use among [Teams](/reference/teams) and [Organizations](/reference/teams). Users supporting a subscriber base may also find this feature helpful to distribute closed-source code.

To deploy a template that includes a private repo, look for the `GitHub` panel in the `Account Integrations` section of [General Settings](https://railway.app/account). Then select the `Edit Scope` option to grant Railway access to the desired private repos.
To deploy a template that includes a private repo, look for the `GitHub` panel in the `Account Integrations` section of [General Settings](https://railway.com/account). Then select the `Edit Scope` option to grant Railway access to the desired private repos.

<Image
src="https://res.cloudinary.com/railway/image/upload/v1721350229/docs/github-private-repo_m46wxu.png"
Expand Down Expand Up @@ -71,7 +71,7 @@ quality={80}

## Configuring Services

Configuring services using the <a href="https://railway.app/compose" target="_blank">template composer</a> is very similar to building a live project in the canvas.
Configuring services using the <a href="https://railway.com/compose" target="_blank">template composer</a> is very similar to building a live project in the canvas.

Once you add a new service and select the source, you can configure the following to enable successful deploys for template users:

Expand Down Expand Up @@ -124,7 +124,7 @@ The current template variable functions are:

## Managing your Templates

You can see all of your templates on your <a href="https://railway.app/account/templates" target="_blank">Account's Template page</a>. Templates are separated into Personal and Published templates.
You can see all of your templates on your <a href="https://railway.com/account/templates" target="_blank">Account's Template page</a>. Templates are separated into Personal and Published templates.

You can edit, publish/unpublish and delete templates.

Expand Down
Loading

0 comments on commit c4da90b

Please sign in to comment.