Posted by: sutrisno | November 27, 2014

HOW to Install Openproject on Ubuntu 14.04 …

HOW to Install Openproject on Ubuntu 14.04 …
ANWers :
—–
wget -qO – https://deb.packager.io/key | sudo apt-key add –
echo “deb https://deb.packager.io/gh/opf/openproject trusty stable” | sudo tee /etc/apt/sources.list.d/openproject.list
sudo apt-get update
sudo apt-get install openproject
—–
sudo openproject configure
—–
admin@openproject-demo:~# sudo openproject
Usage:
openproject run COMMAND [options]
openproject scale TYPE=NUM
openproject logs [–tail|-n NUMBER]
openproject config:get VAR
openproject config:set VAR=VALUE
openproject reconfigure
——-
Set configuration options
—-

DATABASE_URL=mysql2://openproject:9ScapYA1MN7JQrPR7Wkmp7y99K6mRHGU@127.0.0.1:3306/openproject
SECRET_TOKEN=c5aa99a90f9650404a885cf5ec7c28f7fe1379550bb811cb0b39058f9407eaa216b9b2b22d27f58fb15ac21adb3bd16494ebe89e39ec225ef4627db048a12530

ADMIN_EMAIL=mail@example.com
EMAIL_DELIVERY_METHOD=smtp
SMTP_DOMAIN=10.10.3.6
SMTP_HOST=127.0.0.1
SMTP_PASSWORD=mail
SMTP_PORT=25
SMTP_URL=smtp://mail:mail@127.0.0.1:25/10.10.3.6
SMTP_USERNAME=mail

WEB_CONCURRENCY=2
WEB_TIMEOUT=15

RAILS_CACHE_STORE=memcache
SESSION_STORE=cach_store
Example change session store

sudo service openproject stop
sudo openproject config:set SESSION_STORE=”active_record_store”
sudo service openproject start

———
sudo openproject run rails console
# or rake task
sudo openproject run rake db:migrate
———-
sudo openproject logs –tail
———-
sudo openproject reconfigure
–Noted I use SMTP GMAIL port 465—
Upgrade to a newer version

Upgrading the openproject is as easy as stopping the application server do the upgrading and starting the application server again.
sudo service openproject stop
sudo apt-get update
sudo apt-get install –only-upgrade openproject
sudo service openproject start

Note settingan databases

For MySQL:

CREATE DATABASE openproject CHARACTER SET utf8;
CREATE USER ‘openproject’@’localhost’ IDENTIFIED BY ‘my_password’;
GRANT ALL PRIVILEGES ON openproject.* TO ‘openproject’@’localhost’;

source :https://community.openproject.org/projects/openproject/wiki/Installation_Ubuntu
Source https://packager.io/gh/opf/openproject/install?bid=449#ubuntu-14-04-openproject


Responses

  1. http://vaaiibhav.me/install-open-project-on-ubuntu-14-04-working/


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: