server source code of the pictionary website https://www.udig.online
ready | choose word | draw |
---|---|---|
(1) create directories
mkdir -p public/artworks public/avatars
(2) copy a font file to public directory, make sure public/avatar_font.ttf file exist
(3) update credentials if needed
bin/rails credentials:edit
(4) edit db/seeds.rb file then run
bin/rails db:setup
(5) run locally then setup frontend project, see https://github.com/fzdp/draw-guess-frontend