Mysql-related stuff, from dbanotes

Source: Internet
Author: User
See an open-source GTD system-Tracks introduction in life help. I went to the Tracks website and looked at it. It felt like a good GTD tool. I decided to try it on the Dreamhost host. 0. Plan to use a separate domain name GTD.dbanotes.net. Install related files in the gtd.dbanotes.net directory under the user directory. 1. Accuracy

See an open-source GTD system-Tracks introduction in life help. I went to the Tracks website and looked at it. It felt like a good GTD tool. I decided to try it on the Dreamhost host. 0. Plan to use a separate domain name GTD.dbanotes.net. Install related files in the gtd.dbanotes.net directory under the user directory. 1. Accuracy

See an open-source GTD system-Tracks introduction in life help. I went to the Tracks website and looked at it. It felt like a good GTD tool. I decided to try it on the Dreamhost host.

0. Planning

Prepare a separate domain name GTD.dbanotes.net. Install related files in the gtd.dbanotes.net directory under the user directory.

1. Prepare the environment

Tracks was developed using Ruby On Rails. Fortunately, Dreamhost now has built-in support for Ruby On Rails. This item requires almost no additional operations.

Then confirm the database information. Create a separate MySQL user and record the Database Host Name and other information.

2. install and configure
Download the installation file from the Tracks website. The current stable version is 1.041. Decompress all the files to the gtd.dbanotes.net directory. The installation instructions are also in great detail and need to be carefully read. Perform the following operations by referring to the document.

cp config/database.yml.tmpl config/database.ymlcp config/environment.rb.tmpl config/environment.rb 

Rename log. tmpl as log. Edit the tracks/config/database. yml file and fill in the required information for the 'production 'and 'development' sections. Do not modify the 'test' segment.

Edit config/environment. rb and find change-me and change it to another one. This field is the "salt" used to encrypt the password. By default, the problem is not very serious.

Run the following command in the gtd.dbanotes.net directory:

rake migrate

If this operation is correct, Tracks can run.

If necessary, modify the URL of the. htaccess file under the installation directory or public directory.Rewrite.

For the sake of security, set the directory file attribute except the public directory to 700.

Refer to my GTD.

3. Postscript
Tracks is built into the WEBrick Web server. If your machine supports Ruby, you can run it on a local Windows or Linux or Mac OS.X and other operating systems. In this way, the user experience will be better (the speed I set up on Dreamhost is somewhat slow ).

Updated: view the Tracks effect. If you need to test the user please send me an email: dbanotes@gmail.com.

-EOF-

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.