Code Monkey home page Code Monkey logo

gpt-homepage-creator's Introduction

GPT Homepage Creator

create homepage using ChatGPT

LINE account

You can use this app by adding this account.

LINE ACCOUNT

Get Started

  • docker-compose build
  • docker-compose run web rails db:create
  • docker-compose run web rails db:migrate
  • docker-compose run -e EDITOR=vim web rails credentials:edit # set line_channel_token
  • docker-compose up
  • open http://localhost:3011

In Production

  • copy config/master.key (this file is ignored from git)
    • or you can recreate credentials.yml.enc and master.key:
      • rm credentials.yml.enc
      • docker-compose run -e EDITOR=vim web rails credentials:edit
        • you need to set Rails.application.credentials variables
  • docker-compose -f docker-compose.production.yml build
  • docker-compose -f docker-compose.production.yml run web rails db:create RAILS_ENV=production DISABLE_DATABASE_ENVIRONMENT_CHECK=1
  • docker-compose -f docker-compose.production.yml run web rails db:migrate RAILS_ENV=production
  • docker-compose -f docker-compose.production.yml up -d
  • when nginx exit before web started: docker-compose -f docker-compose.production.yml up -d nginx

LINE

When you use line webhook set line_channel_id, line_channel_secret, and line_channel_token in credentials.

ngrok

  • ngrok http 3011
  • set the url to config.hosts in development.rb

Development

  • generate Home controller docker-compose run web rails g controller Users

gpt-homepage-creator's People

Contributors

st34-satoshi avatar

Watchers

 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.