This repository contains the code for the parisjs.org website.
Thanks to Vercel sponsoring this project by allowing it to be deployed for free for the entire ParisJS Team.
- Clone this repository
yarn install
yarn dev
- Open
http://localhost:3000
in your browser
- Code is formatted with prettier.
- CSS follows a BEM-ish style.
You can try running yarn avatars:sync
to get the missing avatars if they are available and then create a pull request.
- Create a GitHub OAuth app via https://github.com/settings/developers
- Choose http://localhost:3000 as both a "Homepage URL" and a "Authorization callback URL"
- Copy your "Client ID" and your "Client Secrets"
- register your app in https://auth-server.herokuapp.com/ (We can't signin from our website without a backend or auth proxy)
- The domain should be "http://localhost:3000" and the grant url "https://github.com/login/oauth/access_token"
- Create a .env.local file
- Add the client id as "GITHUB_APP_ID"
- You should probably switch the default env variables "GITHUB_TALK_REPO_OWNER" and "GITHUB_TALK_REPO_NAME" to avoid spamming the default repository
- Start the app locally !
- Signup to algolia
- Create a .env.local file
- fill the env variables: ALGOLIA_APPLICATION_ID, PUBLIC_ALGOLIA_API_KEY and ALGOLIA_ADMIN_KEY
yarn algolia:index
- Start the app locally !