Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
1e10d11
Refactor: Migrate application to Turbo Repo, add TypeScript and Shadc…
amkayondo May 14, 2024
daa32b6
chore: update Node.js version requirement to >=16
amkayondo May 14, 2024
4685dee
Update Node.js version requirement to >=18
amkayondo May 14, 2024
d38e9d6
chore: Update npm dependencies and add ignore flags for eslint and ty…
amkayondo May 20, 2024
4ab3c73
chore: Fix rewrites bug in next.config.js
amkayondo May 20, 2024
2963c8c
resolve packages
HassanBahati May 20, 2024
9a9f4e6
chore: Add lazy loading for images in layout components
amkayondo May 20, 2024
b1f0b19
docs: add contributing guide
HassanBahati May 23, 2024
60d27b6
docs: add about pycon uganda to readme
HassanBahati May 23, 2024
46ee1e1
Merge branch 'ch-migrate-repo-to-turborepo' of https://github.com/Pyc…
HassanBahati May 23, 2024
38baee3
docs; add dates for pycon 2024
HassanBahati May 23, 2024
b506360
docs: add pycon uganda 2024 dates
HassanBahati May 23, 2024
a765577
add changes
amkayondo Jun 18, 2024
d346c6c
chore: Update redirects in netlify.toml for 2023 and 2024 apps
amkayondo Jun 18, 2024
096646e
chore: Update redirects in netlify.toml for 2023 and 2024 apps
amkayondo Jun 18, 2024
545d003
chore: Update .gitignore and netlify.toml, and add lazy loading for i…
amkayondo Jun 18, 2024
1041f69
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
577f795
chore: Update netlify.toml to include @netlify/plugin-nextjs and conf…
amkayondo Jun 18, 2024
2fd321f
chore: Update netlify.toml to include @netlify/plugin-nextjs and conf…
amkayondo Jun 18, 2024
6f39929
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
0808843
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
3953fde
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
8cc0cbb
Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
578ba4f
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
1434aaa
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
54dec84
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
647a0c6
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
ce662cd
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
b766a84
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
cced80e
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
81ec475
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
fa4e10e
chore: Update netlify.toml redirects for 2023 app
amkayondo Jun 18, 2024
16b5e34
chore: Update build script for 2023 app
amkayondo Jun 18, 2024
a104837
chore: Update build script for 2023 and 2024 apps
amkayondo Jun 18, 2024
83c5f34
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
b2df415
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
00ad88f
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
10cf044
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
c887e12
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
31ee7fa
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
5d572b9
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
d30e38f
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
08a28db
chore: Update netlify.toml redirects for 2023 app
amkayondo Jun 18, 2024
3db9529
chore: Update netlify.toml redirects for 2023 app
amkayondo Jun 18, 2024
b2155b5
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
16cab74
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
333298c
chore: Update netlify.toml redirects for 2023 and 2024 apps
amkayondo Jun 18, 2024
deba704
Update netlify.toml redirects for public 2023 and 2024 apps
amkayondo Jun 18, 2024
93da9cb
chore: Update build scripts and vercel.json for 2023 and 2024 apps
amkayondo Jun 19, 2024
76d821a
chore: Update build scripts, vercel.json, netlify.toml redirects, and…
amkayondo Jul 16, 2024
668ea29
Merge branch 'ch-migrate-repo-to-turborepo' of https://github.com/Pyc…
amkayondo Jul 16, 2024
2f532a0
chore: Update package manager to yarn in CONTRIBUTING file
amkayondo Jul 16, 2024
cc60ab7
chore: Update build scripts, vercel.json, and package.json for 2024 app
amkayondo Jul 17, 2024
ba4d70f
chore: Update Vercel configuration for 2024 app
amkayondo Aug 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

46 changes: 26 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
# Dependencies
node_modules
.pnp
.pnp.js

# testing
/coverage
# Local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# next.js
/.next/
/out/
# Testing
coverage

# production
/build
# Turbo
.turbo

# Vercel
.vercel

# Build Outputs
.next/
out/
build
dist

# misc
.DS_Store
*.pem

# debug
# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel
# Misc
.DS_Store
*.pem
Empty file added .npmrc
Empty file.
15 changes: 0 additions & 15 deletions 2024/utils/constants.js

This file was deleted.

130 changes: 130 additions & 0 deletions CONTRIBUTING
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# PyCon Uganda

## Run PyCon Uganda Website locally

![Static Badge](https://img.shields.io/badge/shadcn%2Fui-0.8.0-blue?link=https%3A%2F%2Fgithub.com%2Fshadcn%2Fui)

This is Turborepo starter with shadcn/ui pre-configured.

> [!NOTE]
> This example uses `yarn` as package manager.

[npm version](https://github.com/dan5py/ug.pycon.org/tree/npm)

## Using this example

Clone the repository:

```sh
git clone https://github.com/PyconUg/ug.pycon.org.git
```

Install dependencies:

```sh
cd ug.pycon.org
yarn install
```

### Add ui components

Use the pre-made script:

```sh
yarn ui:add <component-name>
```

> This works just like the add command in the `shadcn/ui` CLI.

### Add a new app

Turborepo offer a simple command to add a new app:

```sh
yarn turbo gen workspace --name <app-name>
```

This will create a new empty app in the `apps` directory.

If you want, you can copy an existing app with:

```sh
yarn turbo gen workspace --name <app-name> --copy
```

> [!NOTE]
> Remember to run `yarn install` after copying an app.

## What's inside?

This Turborepo includes the following packages/apps:

### Apps and Packages

- `2024`: a [Next.js](https://nextjs.org/) app
- `2024`: another [Next.js](https://nextjs.org/) app
- `@repo/ui`: a stub React component library shared by both `web` and `docs` applications (🚀 powered by **shadcn/ui**)
- `@repo/eslint-config`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
- `@repo/typescript-config`: `tsconfig.json`s used throughout the monorepo

Each package/app is 100% [TypeScript](https://www.typescriptlang.org/).

### Utilities

This Turborepo has some additional tools already setup for you:

- [TypeScript](https://www.typescriptlang.org/) for static type checking
- [ESLint](https://eslint.org/) for code linting
- [Prettier](https://prettier.io) for code formatting

### Build

To build all apps and packages, run the following command:

```sh
cd ug.pycon.org
yarn build
```

### Develop

To develop all apps and packages, run the following command:

```sh
cd ug.pycon.org
yarn dev
```

### Remote Caching

Turborepo can use a technique known as [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching) to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.

By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can [create one](https://vercel.com/signup), then enter the following commands:

```
cd ug.pycon.org
npx turbo login
```

This will authenticate the Turborepo CLI with your [Vercel account](https://vercel.com/docs/concepts/personal-accounts/overview).

Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your Turborepo:

```sh
npx turbo link
```

## Useful Links

Learn more about the power of Turborepo:

- [Tasks](https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks)
- [Caching](https://turbo.build/repo/docs/core-concepts/caching)
- [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching)
- [Filtering](https://turbo.build/repo/docs/core-concepts/monorepos/filtering)
- [Configuration Options](https://turbo.build/repo/docs/reference/configuration)
- [CLI Usage](https://turbo.build/repo/docs/reference/command-line-reference)

Learn more about shadcn/ui:

- [Documentation](https://ui.shadcn.com/docs)
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 dan5py (git@dan5py.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
# PyCon Uganda
# PyCon Uganda 2024

## Run PyCon Uganda Website locally
Welcome to the inaugural PyCon Uganda! This conference is dedicated to the Python programming language and is organized by volunteers from the Python developer community in Uganda.

1. Install the dependencies
```
npm install
```
Join us from **October 9th - 13th, 2024**, for an event that brings together Python enthusiasts, including software developers, data scientists, data analysts, and tech companies.

2. First, run the development server
### About PyCon Uganda

```bash
npm run dev
```
PyCon Uganda aims to:

Access the live development server at [http://localhost:3000](http://localhost:3000)
- **Share Knowledge:** Learn from each other and explore new ideas and techniques in Python development.
- **Foster Community:** Create an inclusive and welcoming environment for attendees of all skill levels.
- **Promote Networking:** Provide opportunities to connect and build lasting relationships within the Python community.

You'll be able to access the development server and you can contribute accordingly.
We believe in the power of diversity and inclusion to build a strong, vibrant community. Join us for an exciting event filled with learning, collaboration, and networking!

5 changes: 0 additions & 5 deletions app/2023/page.js

This file was deleted.

97 changes: 0 additions & 97 deletions app/2023/shop/page.jsx

This file was deleted.

Loading