└[∵┌]└[ ∵ ]┘[┐∵]┘
Welcome to the Story Droid codebase. I built this little app as an experiment which I wrote about on my blog.
The GPT-3 API is now in open beta and I wanted to play around with it after I stumbled upon some neat AI story generators:
Bug reports and pull requests are welcome on GitHub at https://github.com/fpsvogel/storydroid.
- Ruby 3+
- Node.js 14+
- PostgreSQL 9.3+
- Checkout the storydroid git tree from Github:
$ git clone git://github.com/fpsvogel/storydroid.git $ cd storydroid storydroid$
- Run Bundler to install gems needed by the project:
storydroid$ bundle
- Log in to PostgreSQL and create a user:
$ psql -U postgres postgres=# create role "your_username" login createdb postgres=# exit
- Create the development and test databases:
storydroid$ rails db:create
- If you see an error about peer authentication, then you need to change one or two settings in pg_hba.conf, then try creating the databases again.
- Load the schema into the new database:
storydroid$ rails db:schema:load
- Seed the database:
storydroid$ rails db:seed
Distributed under the MIT License.