✨ The live Instance
Here's a sneak peak to the app - Link to the GIF
If you're interested in growing this project further,
Add a .env.local
file based on .env.example
file. And add the following things:
Here is a quick and easy guide for you to run EasyPastes for development, or self hosting it for yourself.
Docker is an easy way of containerizing and delivering your applications quickly and easily, in a convenient way. It's really simple to get started with this, with docker handling all the installation and other tasks.
Configure the environmental variables by renaming the .env.example
file to .env.local
with
the respective values. Once you have your environmental variables and config, follow the guide below.
Docker mini guide:
- To start development environment:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
- To start production deployment:
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up
- To stop the container:
docker-compose down
- To rebuild the container:
docker-compose --build
Both development and production almost run same thing, With some different tweaks and changes.
Both of run on 127.0.0.1:3000
. For displaying it in production, Use Nginx or Apache to proxy it.
This is another way to host, but without docker. You can follow this if docker doesn't work well on your system, or it doesn't support it. Containers are resource intensive, and your PC might not be able to do it, this is the perfect method to get started with the self-hosting.
Here are the steps to configure and run the app:
- Configure Supabase for Database.
- Check the official docs for help with setup.
- Configure Clerk for Authentication services.
- Check this article out for configuration of clerk.
- Configuring Environmental variables based on Supabase and Clerk setup.
- Finally run the app!
To run this project, you will need to properly configure environmental variables. Configure the
environmental variables by renaming the .env.example
file to .env.local
with the respective values.
Install the dependencies first.
yarn
# OR
npm install
Then, Finally, Start the server!
yarn dev
# OR
npm run dev
Contributions, issues and feature requests are welcome. After cloning & setting up project locally, you can just submit a PR to this repo and it will be deployed once it's accepted.
If you have various suggestions, questions or want to discuss things with our community, Have a look at Github discussions or Reach us out at Twitter!
We love and appreciate people's support in growing and improving. Be sure to leave a ⭐️ if you like the project and also be sure to contribute, if you're interested!