2021-03-26 15:20:29 +00:00
<!-- PROJECT LOGO -->
< p align = "center" >
< a href = "https://github.com/calendso/calendso" >
2021-04-11 21:44:58 +00:00
< img src = "https://calendso.com/calendso-logo.svg" alt = "Logo" width = "160" height = "160" >
2021-03-26 15:20:29 +00:00
< / a >
2021-03-10 10:02:39 +00:00
2021-03-26 15:20:29 +00:00
< h3 align = "center" > Calendso< / h3 >
< p align = "center" >
The open-source Calendly alternative.
< br / >
< a href = "https://calendso.com" > < strong > Learn more »< / strong > < / a >
< br / >
< br / >
< a href = "https://join.slack.com/t/calendso/shared_invite/zt-mem978vn-RgOEELhA5bcnoGONxDCiHw" > Slack< / a >
·
< a href = "https://calendso.com" > Website< / a >
·
< a href = "https://github.com/calendso/calendso/issues" > Issues< / a >
< / p >
< / p >
<!-- ABOUT THE PROJECT -->
## About The Project
[![Calendso Screenshot][product-screenshot]](https://calendso.com)
Let's face it: Calendly and other scheduling tools are awesome. It made our lives massively easier. We're using it for business meetings, seminars, yoga classes and even calls with our families. However, most tools are very limited in terms of control and customisations. That's where Calendso comes in. Self-hosted or hosted by us. White-label by design. API-driven and ready to be deployed on your own domain. Full control of your events and data. Calendso is to Calendly what GitLab is to GitHub.
### Built With
* [Next.js ](https://nextjs.org/ )
* [React ](https://reactjs.org/ )
* [Tailwind ](https://tailwindcss.com/ )
<!-- GETTING STARTED -->
2021-03-10 10:02:39 +00:00
## Getting Started
2021-03-26 15:20:29 +00:00
To get a local copy up and running, please follow these simple steps.
### Prerequisites
2021-03-10 10:02:39 +00:00
2021-03-26 15:20:29 +00:00
Here is what you need to be able to run Calendso.
* Node.js
* PostgreSQL
* Yarn _(recommended)_
2021-03-10 10:02:39 +00:00
2021-03-26 15:20:29 +00:00
### Development Setup
2021-03-10 10:02:39 +00:00
2021-03-26 15:20:29 +00:00
1. Clone the repo
```sh
git clone https://github.com/calendso/calendso.git
```
2. Install packages with yarn
```sh
yarn install
```
2021-04-13 11:16:18 +00:00
3. Copy .env.example to .env
4. Configure environment variables in the .env file. Replace \<user\>, \<pass\>, \<db-host\>, \<db-port\> with their applicable values
2021-03-26 15:20:29 +00:00
```
2021-04-13 11:16:18 +00:00
DATABASE_URL='postgresql://< user > :< pass > @< db-host > :< db-port > '
2021-03-26 15:20:29 +00:00
GOOGLE_API_CREDENTIALS='secret'
```
2021-04-13 11:16:18 +00:00
5. Set up the database using the Prisma schema
2021-03-26 15:20:29 +00:00
```sh
npx prisma db push --preview-feature
```
2021-04-13 11:16:18 +00:00
6. Run (in development mode)
2021-03-26 15:20:29 +00:00
```sh
yarn dev
```
2021-04-13 11:16:18 +00:00
7. Open the prisma schema with [Prisma Studio ](https://www.prisma.io/studio )
8. Click on the user model to allow add a new user record.
9. Fill out the fields \(remembering to encrypt your password with [BCrypt ](https://bcrypt-generator.com/ )\) and click Save 1 Record to create your first user.
10. Open a browser to [http://localhost:3000 ](http://localhost:3000 ) and login with your first user.
2021-03-26 15:20:29 +00:00
<!-- ROADMAP -->
## Roadmap
2021-03-10 10:02:39 +00:00
2021-03-26 15:20:29 +00:00
See the [open issues ](https://github.com/calendso/calendso/issues ) for a list of proposed features (and known issues).
2021-03-10 10:02:39 +00:00
2021-03-26 15:20:29 +00:00
<!-- CONTRIBUTING -->
## Contributing
2021-03-10 10:02:39 +00:00
2021-03-26 15:20:29 +00:00
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated** .
2021-03-10 10:02:39 +00:00
2021-03-26 15:20:29 +00:00
1. Fork the project
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a pull request
2021-03-10 10:02:39 +00:00
2021-03-26 15:20:29 +00:00
<!-- LICENSE -->
## License
2021-03-10 10:02:39 +00:00
2021-03-26 15:20:29 +00:00
Distributed under the MIT License. See `LICENSE` for more information.
2021-03-10 10:02:39 +00:00
2021-03-26 15:20:29 +00:00
<!-- ACKNOWLEDGEMENTS -->
## Acknowledgements
Special thanks to these amazing projects which help power Calendso:
* [Next.js ](https://nextjs.org/ )
* [Day.js ](https://day.js.org/ )
* [Tailwind CSS ](https://tailwindcss.com/ )
2021-03-10 10:02:39 +00:00
2021-04-11 21:44:58 +00:00
[product-screenshot]: https://calendso.com/calendso-screenshot.jpg