Skip to content

Instantly share code, notes, and snippets.

@adelowo
Created April 22, 2020 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adelowo/f258f32074e9d644a1cbe15fd660df1e to your computer and use it in GitHub Desktop.
Save adelowo/f258f32074e9d644a1cbe15fd660df1e to your computer and use it in GitHub Desktop.
$ cd server
$ rake db:create
$ rails generate model user moniker:string password:digest`
# If rake generate takes long, generated stubs are the problem
# You can fix it by "rm -rf bin/ && rake app:update:bin"
$ rake db:migrate
$ bundle add stream-chat-ruby dotenv-rails bcrypt
$ rails generate controller Users
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment