[WARNING] - The list of tenants to migrate appears to be empty. This could mean a few things:
1. You may not have created any, in which case you can ignore this message
2. You've run `apartment:migrate` directly without loading the Rails environment
* `apartment:migrate` is now deprecated. Tenants will automatically be migrated with `db:migrate`
Note that your tenants currently haven't been migrated. You'll need to run `db:migrate` to rectify this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| version='2.1.1' | |
| filename=ant-design-pro-${version} | |
| name='skylla_os_web' | |
| echo "Init from ${filename}" | |
| wget -c -O ${filename}.tar.gz https://github.com/ant-design/ant-design-pro/archive/${version}.tar.gz | |
| tar -zxvf ${filename}.tar.gz |
bundle install --path /var/www/jky_api_bear/shared/bundle --without development test --deployment --quiet
bundle exec sidekiqctl stop /var/www/jky_api_bear/shared/tmp/pids/sidekiq-0.pid 10
bundle exec sidekiq --index 0 --pidfile /var/www/jky_api_bear/shared/tmp/pids/sidekiq-0.pid --environment production --logfile /var/www/jky_api_bear/shared/log/sidekiq.log --queue default --config config/sidekiq.yml --concurrency 5 --daemon
bundle exec pumactl -S /var/www/jky_api_bear/shared/tmp/pids/puma.state restart
bundle exec puma -C /var/www/jky_api_bear/shared/puma.rb --daemon
sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
build-base python-dev py2-pip pip install jupyter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // 知识点 | |
| // 1. 二进制 | |
| // 2. 字节序 | |
| padding(2): a/A | |
| 4(2): h/H | |
| 8(2): c/C | |
| 16(4): s/S/n(Big)/v | |
| 32(4): l/L/N(Big)/V | |
| i/I |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Capybara-webkit | |
| apk add apk add qt5-qtwebkit-dev | |
| ENV QMAKE /usr/lib/qt5/bin/qmake | |
| # apk add yarn --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 测试SSH 执行获取的环境变量 | |
| env | ssh user@host remote_program | |
| .bashrc | |
| 非交互式登录,退出执行 | |
| [ -z "$PS1" ] && return | |
| 每次都会执行 | |
| /etc/environment |
NewerOlder