It is a sample application to login and view the auploaded files and able to upload the files and tiny urls are created for easy share of those files.
ruby Version 2.7 rails Version 6.X.X
- clone this application
- create a file in the path
config/master.key
and paste the below key to that path222080d5b6137259da3190808037f253
- run the command
bundle install
- run the command
yarn install
- if you are not starting the server in
3000
port, need to update the credentials.yml file using the below commandEDITOR="nano" bin/rails credentials:edit
.ThisEDITOR
denoted to open this in the nano editor. - run the command
rails db:setup
- seed file setup the local user and local data for the upload
- email:
admin@admin.com
, password:admin@admin.com