Skip to content

Commit

Permalink
Rename flux to beam
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdansoare committed Feb 2, 2022
1 parent a23e899 commit bde9384
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Flux
# Beam

Changelog for organizations.

Expand Down Expand Up @@ -51,7 +51,7 @@ npx prisma db push

### 2. Authentication provider

Flux comes by default with an Okta integration, but you can easily change it because of the next-auth [provider](https://next-auth.js.org/configuration/providers/oauth) ecosystem.
Beam comes by default with an Okta integration, but you can easily change it because of the next-auth [provider](https://next-auth.js.org/configuration/providers/oauth) ecosystem.

Create an [Okta account](https://login.okta.com/signin/register/) if you don't have one and go to the **Applications** page in your account.

Expand Down Expand Up @@ -95,7 +95,7 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the

Deploy this application quickly to Vercel using the following Deploy button:

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fplanetscale%2Fflux-v2&env=DATABASE_URL,OKTA_CLIENT_ID,OKTA_CLIENT_SECRET,OKTA_ISSUER,NEXTAUTH_URL,NEXTAUTH_SECRET,CLOUDINARY_CLOUD_NAME,CLOUDINARY_API_KEY,CLOUDINARY_API_SECRET)
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fplanetscale%2Fbeam&env=DATABASE_URL,OKTA_CLIENT_ID,OKTA_CLIENT_SECRET,OKTA_ISSUER,NEXTAUTH_URL,NEXTAUTH_SECRET,CLOUDINARY_CLOUD_NAME,CLOUDINARY_API_KEY,CLOUDINARY_API_SECRET)

After you deploy the app you need to update the callback URLs for the auth provider that you picked.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "flux-v2",
"name": "beam",
"version": "1.0.0",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion pages/api/sign-cloudinary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cloudinary.config({
const cloudName = cloudinary.config().cloud_name!
const apiSecret = cloudinary.config().api_secret!
const apiKey = cloudinary.config().api_key!
const folder = 'flux'
const folder = 'beam'

export default async function handler(
req: NextApiRequest,
Expand Down
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const Home: NextPageWithAuthAndLayout = () => {
return (
<>
<Head>
<title>Flux</title>
<title>Beam</title>
</Head>

{feedQuery.data.postCount === 0 ? (
Expand Down
2 changes: 1 addition & 1 deletion pages/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const NewPostPage: NextPageWithAuthAndLayout = () => {
return (
<>
<Head>
<title>New Post - Flux</title>
<title>New Post - Beam</title>
</Head>

<h1 className="text-2xl font-semibold tracking-tight md:text-3xl">
Expand Down
2 changes: 1 addition & 1 deletion pages/post/[id]/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const EditPostPage: NextPageWithAuthAndLayout = () => {
return (
<>
<Head>
<title>Edit {postQuery.data.title} - Flux</title>
<title>Edit {postQuery.data.title} - Beam</title>
</Head>

{postBelongsToUser ? (
Expand Down
2 changes: 1 addition & 1 deletion pages/post/[id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const PostPage: NextPageWithAuthAndLayout = () => {
return (
<>
<Head>
<title>{postQuery.data.title} - Flux</title>
<title>{postQuery.data.title} - Beam</title>
</Head>

<div className="divide-y divide-primary">
Expand Down
2 changes: 1 addition & 1 deletion pages/profile/[userId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function ProfileInfo() {
return (
<>
<Head>
<title>{profileQuery.data.name} - Flux</title>
<title>{profileQuery.data.name} - Beam</title>
</Head>

<div className="relative flex items-center gap-4 py-8 overflow-hidden">
Expand Down
2 changes: 1 addition & 1 deletion pages/sign-in.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const SignIn = ({
return (
<>
<Head>
<title>Sign In - Flux</title>
<title>Sign In - Beam</title>
</Head>

<Div100vh>
Expand Down

0 comments on commit bde9384

Please sign in to comment.