-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from kalwabed/telegram
- Loading branch information
Showing
2 changed files
with
66 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,67 @@ | ||
# Pena | ||
Website coordinates Kalwabed's abstract writings | ||
|
||
## Demo | ||
|
||
[https://pena.kalwabed.xyz](https://pena.kalwabed.xyz) | ||
## Tech Stack | ||
- Svelte Kit | ||
- TypeScript | ||
- Uno CSS + Tailwind CSS | ||
- Prisma + Planetscale | ||
|
||
## Getting Started | ||
|
||
To get started running the project locally, please follow the steps below. | ||
|
||
First, clone the repository. | ||
|
||
```bash | ||
git clone https://github.com/kalwabed/pena.kalwabed.xyz.git | ||
``` | ||
|
||
Then, install dependencies and fetch data to your local machine. **Note that we use PNPM.** | ||
|
||
```bash | ||
cd pena.kalwabed.xyz | ||
pnpm install | ||
``` | ||
|
||
Generate Prisma Client. | ||
```bash | ||
pnpx prisma generate | ||
``` | ||
|
||
Finally, run the development server. | ||
|
||
```bash | ||
pnpm dev | ||
``` | ||
|
||
Open [http://127.0.0.1:5173](http://127.0.0.1:5173) with your browser to see the result. | ||
## Environment Variables | ||
|
||
To run this project, you will need to add the following environment variables to your `.env` file. | ||
|
||
`DATABASE_URL`: Planetscale database URL. | ||
|
||
`BOT_TOKEN`: (optional) Telegram bot token. | ||
|
||
`BOT_GROUP_ID`: (optional) Telegram bot group id. | ||
|
||
## Deployment | ||
You can easily deploy to Vercel, or you can learn more from https://kit.svelte.dev/docs/adapters. | ||
|
||
## Learn More | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
|
||
- [Svelte Kit Documentation](https://kit.svelte.dev/docs/introduction) - learn about Svelte Kit features and API. | ||
- [Learn Svelte](https://learn.svelte.dev/tutorial/welcome-to-svelte) - an interactive Svelte tutorial. | ||
|
||
## Authors | ||
|
||
- [@kalwabed](https://www.github.com/kalwabed) | ||
|
||
## License | ||
[MIT](https://choosealicense.com/licenses/mit/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7faa3f0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
pena-kalwabed-xyz – ./
pena-kalwabed-xyz.vercel.app
pena-kalwabed-xyz-kalwabed.vercel.app
pena-kalwabed-xyz-git-main-kalwabed.vercel.app
pena.kalwabed.xyz