Difference between revisions of "Openproject"
From copec
Line 6: | Line 6: | ||
<pre> | <pre> | ||
− | |||
− | |||
[copec@openproject1 ~]$ pfexec pkgin in git curl build-essential zlib libyaml openssl mysql-client postgresql96-client sqlite3 readline libffi | [copec@openproject1 ~]$ pfexec pkgin in git curl build-essential zlib libyaml openssl mysql-client postgresql96-client sqlite3 readline libffi | ||
calculating dependencies... done. | calculating dependencies... done. | ||
Line 66: | Line 64: | ||
eval "$(rbenv init -)" | eval "$(rbenv init -)" | ||
+ | [copec@openproject1 ~]$ source ~/.bash_profile | ||
+ | |||
+ | [copec@openproject1 ~]$ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build | ||
+ | Cloning into '/home/copec/.rbenv/plugins/ruby-build'... | ||
+ | remote: Enumerating objects: 2, done. | ||
+ | remote: Counting objects: 100% (2/2), done. | ||
+ | remote: Compressing objects: 100% (2/2), done. | ||
+ | remote: Total 9231 (delta 0), reused 0 (delta 0), pack-reused 9229 | ||
+ | Receiving objects: 100% (9231/9231), 1.93 MiB | 5.07 MiB/s, done. | ||
+ | Resolving deltas: 100% (5987/5987), done. | ||
</pre> | </pre> |
Revision as of 13:41, 26 September 2018
SmartOS Zone Install Notes
Translating from: https://www.openproject.org/development/setting-up-development-environment/
to
[copec@openproject1 ~]$ pfexec pkgin in git curl build-essential zlib libyaml openssl mysql-client postgresql96-client sqlite3 readline libffi calculating dependencies... done. nothing to upgrade. 6 packages to be installed (60M to download, 201M to install): icu-60.2 lz4-1.8.0 libevent-2.1.8nb1 boost-libs-1.65.1nb3 mysql-client-5.7.20 postgresql96-client-9.6.9 proceed ? [Y/n] downloading packages... icu-60.2.tgz 100% 27MB 3.4MB/s 34.6KB/s 00:08 lz4-1.8.0.tgz 100% 265KB 264.7KB/s 264.7KB/s 00:00 libevent-2.1.8nb1.tgz 100% 894KB 894.1KB/s 894.1KB/s 00:01 boost-libs-1.65.1nb3.tgz 100% 10MB 2.6MB/s 1.3MB/s 00:04 mysql-client-5.7.20.tgz 100% 17MB 2.2MB/s 2.3MB/s 00:08 postgresql96-client-9.6.9.tgz 100% 4293KB 4.2MB/s 4.2MB/s 00:00 installing packages... installing icu-60.2... installing lz4-1.8.0... installing libevent-2.1.8nb1... installing boost-libs-1.65.1nb3... installing mysql-client-5.7.20... installing postgresql96-client-9.6.9... postgresql96-client-9.6.9: copying /opt/local/share/postgresql/pg_service.conf.sample to /opt/local/etc/postgresql/pg_service.conf postgresql96-client-9.6.9: copying /opt/local/share/postgresql/psqlrc.sample to /opt/local/etc/postgresql/psqlrc pkg_install warnings: 0, errors: 0 reading local summary... processing local summary... marking curl-7.60.0 as non auto-removable marking zlib-1.2.11 as non auto-removable marking libyaml-0.1.7 as non auto-removable marking mysql-client-5.7.20 as non auto-removable marking postgresql96-client-9.6.9 as non auto-removable marking sqlite3-3.21.0nb1 as non auto-removable marking readline-7.0 as non auto-removable marking libffi-3.2.1nb4 as non auto-removable [copec@openproject1 ~]$ git clone https://github.com/rbenv/rbenv.git ~/.rbenv Cloning into '/home/copec/.rbenv'... remote: Enumerating objects: 2744, done. remote: Total 2744 (delta 0), reused 0 (delta 0), pack-reused 2744 Receiving objects: 100% (2744/2744), 515.63 KiB | 2.43 MiB/s, done. Resolving deltas: 100% (1720/1720), done. [copec@openproject1 ~]$ cd ~/.rbenv && src/configure && make -C src make: Entering directory '/home/copec/.rbenv/src' gcc -fPIC -c -o realpath.o realpath.c gcc -shared -Wl,-soname,../libexec/rbenv-realpath.dylib -o ../libexec/rbenv-realpath.dylib realpath.o make: Leaving directory '/home/copec/.rbenv/src' [copec@openproject1 ~/.rbenv]$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile [copec@openproject1 ~]$ ~/.rbenv/bin/rbenv init # Load rbenv automatically by appending # the following to ~/.bash_profile: eval "$(rbenv init -)" [copec@openproject1 ~]$ source ~/.bash_profile [copec@openproject1 ~]$ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build Cloning into '/home/copec/.rbenv/plugins/ruby-build'... remote: Enumerating objects: 2, done. remote: Counting objects: 100% (2/2), done. remote: Compressing objects: 100% (2/2), done. remote: Total 9231 (delta 0), reused 0 (delta 0), pack-reused 9229 Receiving objects: 100% (9231/9231), 1.93 MiB | 5.07 MiB/s, done. Resolving deltas: 100% (5987/5987), done.