Skip to content

Commit

Permalink
Merge pull request #197 from ystv/mia/un-deadname-internal-site
Browse files Browse the repository at this point in the history
Change more things over from [REDACTED] to internal-site
  • Loading branch information
archessmn authored Jan 1, 2025
2 parents ba39d10 + 27791bd commit afa9de7
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NB: These are _not_ prefixed with NEXT_PUBLIC because we don't want their values to be sewn into the Docker image
# Base configuration
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/calendar_2023"
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/internal_site"
PUBLIC_URL=http://localhost:3000
SESSION_SECRET= # A random string, in production should be a secure secret e.g. `openssl rand -base64 32`

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# YSTV Calendar
# YSTV Internal Site

This is the repo for https://internal.ystv.co.uk.
Formerly known as `experimental-hypothetical-new-internal-site-idea`.

## Getting Started

To set up a local copy of the new calendar, you will need
To set up a local copy of the new internal site, you will need

- Node.js (18 or later) - https://nodejs.org/en/download
- Yarn - once you have Node installed, run `corepack enable`
Expand All @@ -31,7 +31,7 @@ You will also need to set up the following:

### Postgres Database

Once you have PostgreSQL installed, run `createdb calendar_2023`.
Once you have PostgreSQL installed, run `createdb internal_site`.

Now run `yarn prisma db push` to set up the database tables.
If you get a permissions error, check your PostgreSQL authentication settings - you should have a `local all all peer` line in your pg_hba.conf.
Expand Down
2 changes: 1 addition & 1 deletion app/(authenticated)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default async function AuthenticatedLayout({
</main>
<br />
<footer className="mt-8 text-center text-sm text-gray-500">
Calendar version {process.env.NEXT_PUBLIC_RELEASE}. Built and
Internal Site version {process.env.NEXT_PUBLIC_RELEASE}. Built and
maintained by the YSTV Computing Team. <FeedbackPrompt />
</footer>
<style
Expand Down
4 changes: 2 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const inter = Inter({
});

export const metadata = {
title: "YSTV Calendar",
description: "YSTV Calendar",
title: "YSTV Internal Site",
description: "YSTV Internal Site",
};

export default async function RootLayout({
Expand Down
2 changes: 1 addition & 1 deletion lib/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const envSchema = z.object({
SLACK_CLIENT_SECRET: slackEnvType,
SLACK_TEAM_ID: z.string().optional(),
SLACK_CHECK_WITH_TECH_CHANNEL: slackEnvType,
SLACK_USER_FEEDBACK_CHANNEL: slackEnvType.default("#dev-calendar"),
SLACK_USER_FEEDBACK_CHANNEL: slackEnvType.default("#dev-internal-site"),
SLACK_DISABLE_SOCKET_MODE: z.enum(["true", "false"]).default("false"), // Used to disable socket mode in dev since it shares an app with prod
DEV_SSL: z.string().optional(), // Used to decide whether or not to use https in a dev environment
SENTRY_PROJECT_ID: z.string().optional(),
Expand Down
2 changes: 1 addition & 1 deletion next.config.build.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const nextConfig = {

const sentryWebpackPluginOptions = {
org: "ystv",
project: "calendar2023",
project: "internal-site",
};

const sentryOptions = {
Expand Down
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = withSentryConfig(
// Suppresses source map uploading logs during build
silent: true,
org: "ystv",
project: "calendar2023",
project: "internal-site",
},
{
// For all available options, see:
Expand Down

0 comments on commit afa9de7

Please sign in to comment.