This is a project to improve the UX of BitDevs websites and add AI generated summaries to help new attendees.
How to setup repository secrets
OPENAI_API_KEY
-> your Open AI API KeyGH_TOKEN
-> A github access token with enough access to commit files and submit a PRai
directory is independent from the website and runs and builds separately. If you want to run it locally:cd ai
# Make a .env file inside the ai directory and add your OPENAI_API_KEY
yarn install
yarn start
content/events
directory starting with a date in yyyy-mm-dd
.Follow design work here: https://www.figma.com/file/4bV8cJBpreCpWwJ55uk9Rb/BitDevs-Upgrade?type=design&node-id=7%3A10&mode=design&t=Wz7ivmd0ZRi69Vqx-1
The frontend is a NextJS website. See below for NextJS details.
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
If you fork this template for your own website, you may want to upgrade the template in the future if there are bug fixes, UX improvements, or new features. You can run ./upgrade.sh
from a CLI shell to upgrade, which will pull down the latest, but ignore content that ia unique to your site.
However, this in't guaranteed to work properly. Before running upgrade.sh, make sure all your changes have been committed. Create a clean branch and run the update their. Check the changes that have been applied when you merge to ensure none of your unique content is overwritten.