Giter Site home page Giter Site logo

sriharshamajeti / btw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from btw-so/btw

0.0 0.0 0.0 26.78 MB

Open source personal website builder. Set up your website within minutes.

Home Page: https://btw.so

License: GNU General Public License v3.0

Shell 0.30% JavaScript 57.75% TypeScript 14.35% CSS 20.44% HTML 2.35% Handlebars 3.81% Dockerfile 0.98% Procfile 0.01%

btw's Introduction

github-cover


btw

btw is an open source personal website builder.

You can sign up and use btw without installing anything. You can also use the open source version to self-host.

btw-editor-screenshot

Demo blogs published using btw:

Table of contents

Getting started

These instructions will help you to get a copy of the project up and running on your local machine

Pre-requisites

  • Install the latest version of Docker, Docker-compose on your system
  • Working postgres instance
  • SMTP credentials (Ex: from mailgun)

Installation

  1. Setup your database using btw.sql file
  2. Replace the variables in deploy/docker-compose.dev.yml
Variable Name Description
TASKS_DATABASE_URL Set the connection URL to your PG DB
ADMIN_EMAIL Your email address
ADMIN_SLUG Unique slug
ADMIN_OTP (OPTIONAL) Set a unique 6 digit code, if you want the writer to be behind OTP login. OTP login turned off by default
SECRET Unique secret
SMTP_HOST SMTP HOST (OPTIONAL, used to email OTPs for login)
SMTP_PORT OPTIONAL
SMTP_USER OPTIONAL
SMTP_PASS OPTIONAL
SMTP_FROM OPTIONAL
S3_ENDPOINT (OPTIONAL) Set this if you need image uploads to work in editor
REACT_APP_S3_ENDPOINT OPTIONAL
S3_BUCKET OPTIONAL
S3_KEY OPTIONAL
S3_SECRET OPTIONAL

Development

  1. Execute the following commands from the deploy folder:
    docker-compose -f docker-compose.dev.yml up
    
  2. Visit localhost:9000 to login and start writing
  3. If you set your slug and publish any articles, you can view them at localhost:9222?domain=

Community

  • Twitter: Product updates & memes.
  • Discord: If you have questions or just want to hang out, come & say hi!

Coming next

  • Simplified development setup
  • Sample cloud deployment setup
  • Sample custom domain setup instructions
  • Feature roadmap
  • Documentation
  • Contributing guidelines

License

See the LICENSE file for details.

btw's People

Contributors

siddug avatar deeptivchopra avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.