arche
A complete open source Office-Automation solution(By Rust and React, STILL UNDER DEVELOPMENT).
Install
- install rustup
curl https://sh.rustup.rs -sSf | sh
- add to your .zshrc
source $HOME/.cargo/env
-
then re-login at first
-
install rust-nightly
git clone https://github.com/cinnabaris/arche.git
cd arche
rustup override set nightly
make clean
make
Usage
- testing
diesel database reset
cargo run
python -m unittest -v
Editor
atom plugins
- autosave: enable
- platformio-ide-terminal
- file-icons
- atom-beautify: enable beautify on save
- ide-rust: disable toolchain update checking
- language-babel
- language-vue
vscode plugins
- vscode-icons
- markdownlint
- rust(rls)
Notes
- Generate a random key
openssl rand -base64 32
- ~/.npmrc
npm config set prefix '~/.npm-global'
- 'Peer authentication failed for user', open file "/etc/postgresql/9.5/main/pg_hba.conf" change line:
local all all peer
TO:
local all all md5
- forgot mysql root password
create file /tmp/reset.mysqld
SET PASSWORD FOR root@localhost = PASSWORD('blah');
edit file /etc/mysql/my.cnf
[mysqld]
init-file=/tmp/reset.mysqld
- RabbitMQ
rabbitmq-plugins enable rabbitmq_management
rabbitmqctl change_password guest change-me
rabbitmqctl add_user who-am-i change-me
rabbitmqctl set_user_tags who-am-i administrator
rabbitmqctl list_vhosts
rabbitmqctl add_vhost v-host
rabbitmqctl set_permissions -p v-host who-am-i ".*" ".*" ".*"