- Rails 7.0.2
- stimulus js
- importmaps
- dropzone.js
- direct upload ActiveStorage
This is simple implementation of technologies in hobby project of mine built in Rails7 where I need direct upload to S3.
This is simple implementation of technologies in hobby project of mine built in Rails7 where I need direct upload to S3.
| KAMAL_REGISTRY_PASSWORD=xxx | |
| RAILS_MASTER_KEY=xxxxxxxxxxxxxxx | |
| POSTGRES_PASSWORD=xxxxxxxxxxxxx | |
| REDIS_PASSWORD=my-redis-password | |
| REDIS_URL=redis://:my-redis-password@n28-redis:6379/1 |
| # With Ruby 2.7.7 | |
| # The error: | |
| # OpenSSL 3 - symbol not found in flat namespace '_SSL_get1_peer_certificate' | |
| frum uninstall 2.7.7 | |
| frum install 2.7.7 --with-openssl-dir=$(brew --prefix [email protected]) | |
| gem install bundler -v 2.2.19 # or whatever the Gemfile.lock bundler version you have is | |
| bundle config build.puma --with-cppflags=-I$(brew --prefix [email protected])/include | |
| bundle install |
This is simple implementation of technologies in hobby project of mine built in Rails7 where I need direct upload to S3.
| app/assets/javascripts/custom.js | |
| $(document).ready(function() { | |
| let arraySelect2 = [".select2-yourvarname"] | |
| function select2Dynamic(name) { | |
| let id = $(name).attr("data-id") | |
| let text = $(name).attr("data-name") | |
| $(name).select2({ | |
| placeholder: "Select Data", |
| # WSL1 compatibility with X server (x410, others should work) | |
| if [[ "$(</proc/version)" == *Microsoft* ]] 2>/dev/null; then | |
| export WSL=1 | |
| export DISPLAY=localhost:0 | |
| export NO_AT_BRIDGE=1 | |
| export LIBGL_ALWAYS_INDIRECT=1 | |
| fi | |
| # WSL2 compatibility | |
| if [[ "$(</proc/version)" == *microsoft* ]] 2>/dev/null; then |
| --require spec_helper |
| Balsamiq Wireframes for Desktop full license key free | |
| This old name is Balsamiq Mockups now the company changing the name to Balsamiq Wireframes for Desktop insteed | |
| HOW TO: | |
| First download softwere here: https://balsamiq.com/wireframes/desktop/ | |
| Install and follow screen direction | |
| Use below serial: | |
| ===================================================================================== |