Skip to content

Commit d93d6b3

Browse files
authored
Merge pull request #130 from ASU-CodeDevils/dev
Dev to Main
2 parents c6502a2 + ba60b87 commit d93d6b3

10 files changed

Lines changed: 187 additions & 296 deletions

File tree

.github/CONTRIBUTING.MD

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This document plans to outline the following for _all_ contributors of the CodeD
44

55
### Table of Contents
66

7-
1. [Chain of Command](#chain-of-command)
7+
1. [Leadership](#leadership)
88
1. [Git Flow](#git-flow)
99
- [Workflow Overview](#Overview)
1010
- [Available Issues](#Available-Issues)
@@ -18,7 +18,7 @@ This document plans to outline the following for _all_ contributors of the CodeD
1818

1919
<br/>
2020

21-
# Chain of Command
21+
# Leadership
2222

2323
The CodeDevils Website project managers are Pita Sherwood ([@PitaFLAME](https://github.com/PitaFLAME)) and Frankie Lin ([@frankjlin16](https://github.com/frankjlin16)). They control the day-to-day operation of this project, with oversight and policy dictated by the CodeDevil Officers.
2424

@@ -94,48 +94,24 @@ The `dev` branch is where all Pull Requests should point to. When creating a ne
9494

9595
Alternatively, you can install both requirements with a package manager - [homebrew](https://brew.sh/) (macOS) or [chocolatey](https://chocolatey.org/) (Windows).
9696

97-
## Environment Variables
98-
99-
You need to create a `.env` file in root directory with the following environment variables:
100-
101-
```
102-
# Prisma
103-
DATABASE_URL=postgresql://USER:PASSWORD@HOST:PORT/DATABASE
104-
105-
# Discord Secret
106-
DISCORD_CLIENT_ID=<Client ID>
107-
DISCORD_CLIENT_SECRET=<Client Secret>
108-
109-
# Clerk
110-
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=*******************************************************
111-
CLERK_SECRET_KEY=sk_test_******************************************
112-
113-
```
114-
115-
To aquire the **discord client id and secret**, you need to create a new application through the [discord developer portal](https://discord.com/developers/applications). Refer to [NextAuth's documentation](https://next-auth.js.org/providers/discord) for additional information.
116-
11797
## Getting Started
11898

119-
Once you have the local environment variables set, it is time to install the packages/dependencies.
99+
Once you have node.js and a package manager installed, it is time to install the packages/dependencies.
120100

121101
```
122102
pnpm install
123103
```
124104

125-
Once the packages/dependencies have been installed, you need to initialize the database with `prisma`.
126-
127-
```
128-
pnpm prisma db push
129-
```
130-
131105
Now you can start the development server with the following command:
132106

133107
```
134108
pnpm dev
135109
```
110+
Any changes you make to the code will be reflected in your local deployment.
136111

137112
---
138113

114+
139115
<br/>
140116

141117

@@ -144,3 +120,9 @@ pnpm dev
144120
- Installing Git: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
145121
- Git Basics: https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository
146122
- GitHub - Creating a Pull Request: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request
123+
- A full project guide that uses our stack: https://www.youtube.com/watch?v=SG82Aqcaaa0
124+
- Learn React: https://www.youtube.com/watch?v=Rh3tobg7hEo
125+
- Learn TailwindCSS: https://www.youtube.com/watch?v=24hFVa3hgVw
126+
- Learn Next.js: https://www.youtube.com/watch?v=ZjAqacIC_3c
127+
- Learn Next.js: https://www.youtube.com/watch?v=eZJJ189JTks
128+
- Learn MongoDB: https://www.youtube.com/watch?v=_8SN9jw9MJo

src/app/(main)/(routes)/projects/academy/page.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import '../project-page-styles.css'
1+
import '../project-styles.css'
22
import { MaxWidthWrapper } from "src/app/components/ui/ContentWrappers"
33
import ApplyButton from "~/src/app/components/Projects/ApplyButton"
44
import getContent from "../content"
@@ -14,15 +14,15 @@ const Home = () => {
1414

1515
<MaxWidthWrapper className="relative mt-16">
1616

17-
{getContent({ projectID: projectID, contentID: 0})} {/* Title */}
17+
{getContent({ projectID: projectID, contentID: 0, pageID: "project-page"})} {/* Title */}
1818
<div className="relative px-1">
19-
{getContent({ projectID: projectID, contentID: 4})} {/* Stack */}
20-
{getContent({ projectID: projectID, contentID: 5})} {/* Git Monitor (large screens only) */}
21-
{getContent({ projectID: projectID, contentID: 2})} {/* Main Content */}
19+
{getContent({ projectID: projectID, contentID: 4, pageID: "project-page"})} {/* Stack */}
20+
{getContent({ projectID: projectID, contentID: 5, pageID: "project-page"})} {/* Git Monitor (large screens only) */}
21+
{getContent({ projectID: projectID, contentID: 2, pageID: "project-page"})} {/* Main Content */}
2222
</div>
23-
{getContent({ projectID: projectID, contentID: 6})} {/* Project Images */}
24-
{getContent({ projectID: projectID, contentID: 3})} {/* Project Goals */}
25-
{getContent({ projectID: projectID, contentID: 7})} {/* Project Team */}
23+
{getContent({ projectID: projectID, contentID: 6, pageID: "project-page"})} {/* Project Images */}
24+
{getContent({ projectID: projectID, contentID: 3, pageID: "project-page"})} {/* Project Goals */}
25+
{getContent({ projectID: projectID, contentID: 7, pageID: "project-page"})} {/* Project Team */}
2626

2727
<div className="flex justify-center md:justify-start">
2828
<ApplyButton project={projectID} >Join the Project!</ApplyButton>

0 commit comments

Comments
 (0)