Giter Club home page Giter Club logo

brendari_rails's Introduction

README

KEYS

  • SECRET_KEY_BASE

scroll effects https://github.com/alexfoxy/laxxx

native lazyload https://addyosmani.com/blog/lazy-loading/

може використати епловський шрифт?́ body { font-family: SF Pro Text,-apple-system,-apple-system-font,Helvetica Neue,Helvetica,Verdana,Arial,sans-serif; }

strange things

  • old yarn have bug and installs dev deps on prod and this causes errors ("xo": "^0.23.0"). But there is no newer yarn for ruby:2.5.1-alpine3.7.
docker-machine create --driver digitalocean --digitalocean-access-token=XXXXX --digitalocean-size=1gb --digitalocean-region=fra1 brendari

eval (docker-machine env brendari)

docker-compose up -d

# run some tasks
docker exec -it brendari_rails_app_1 bundle exec rails db:reset

# build app and reload
docker-compose build app
docker-compose up --no-deps -d app

# copy assets to nginx
docker cp brendari_rails_app_1:/rails_app/public/assets /tmp/
docker cp /tmp/assets brendari_rails_web_1:/rails_app/public/
docker cp brendari_rails_app_1:/rails_app/public/packs /tmp/
docker cp /tmp/packs brendari_rails_web_1:/rails_app/public/

Deploy

Redeploys only app container

eval (docker-machine env brendari)

./deploy.sh

To remove unused docker resources

docker system prune -a

Rake tasks

brendari:logos_seeds
brendari:projects_seeds
brendari:configs_seeds
brendari:user_seeds
translations:merge[en]
translations:merge[uk]

1920x1280 1440x960 1280x853 640x427 320x213

412 x 274

brendari_rails's People

Contributors

infernalmaster avatar

Forkers

getmoble

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.