redmine
- ##403
There are no projects with trackers for which you can create an issue!
Issue statuses问题状态
- 设置问题状态Trackers跟踪标签
- 设置跟踪标签,跟踪标签中需要设置问题状态Roles and permissions角色和权限
- 设置跟踪标签的权限,给予new issue权限Mariadb
cmake选项
- https://dev.mysql.com/doc/refman/5.7/en/source-configuration-options.html初始化
- [https://dev.mysql.com/doc/refman/5.7/en/installing-source-distribution.html](https://dev- .mysql.com/doc/refman/5.7/en/installing-source-distribution.html)授权
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21Your MariaDB connection id is 10
Server version: 10.2.6-MariaDB Source distribution
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> CREATE DATABASE redmine CHARACTER SET utf8;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'redmine';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> \q
ByeRuby
rbenv
- 安装- rbenv
1
2$ git clone https://github.com/rbenv/rbenv.git ~/.rbenv
$ cd ~/.rbenv && src/configure && make -C src - ruby-build
1
2
3$ git clone https://github.com/rbenv/ruby-build.git
$ cd ruby-build
$ ./install.sh- rbenv环境变量
1
2
3
4
5
6
7
8# rbenv - setting
export PATH="$HOME/.rbenv/bin:$PATH"
# to detect .rbenv-version
eval "$(rbenv init -)"
# prod
export RAILS_ENV="production"
- rbenv
安装依赖
1
2
3
4
5
6
7
8gem install bundler
sudo apt-get install libmagickwand-dev imagemagick
gem install rmagick -v '2.16.0'
gem install json -v '1.8.3'
bundle install --without development test
bundle exec rake generate_secret_token
bundle exec rake db:migrate
REDMINE_LANG=zh bundle exec rake redmine:load_default_data启动rails
1
2
3
4bundle exec rails server webrick -e production
bundle exec rails server webrick -b xxx.xxx.xxx.xxx -e production
bundle exec rails server webrick -p 3000 -e production