Project

General

Profile

Feature #34992 » 0003-Remove-some-trailing-whitespaces.patch

Marius BĂLTEANU, 2021-04-03 08:42

View differences:

doc/INSTALL
45 45
   It will be loaded automatically when running `bundle install`.
46 46

  
47 47
5. Generate a session store secret
48
   
48

  
49 49
   Redmine stores session data in cookies by default, which requires
50 50
   a secret to be generated. Under the application main directory run:
51 51
     bundle exec rake generate_secret_token
......
54 54
   http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#config-secrets-yml
55 55

  
56 56
6. Create the database structure
57
   
57

  
58 58
   Under the application main directory run:
59 59
     bundle exec rake db:migrate RAILS_ENV="production"
60
   
60

  
61 61
   It will create all the tables and an administrator account.
62 62

  
63 63
7. Setting up permissions (Windows users have to skip this section)
64
   
64

  
65 65
   The user who runs Redmine must have write permission on the following
66 66
   subdirectories: files, log, tmp & public/plugin_assets.
67
   
67

  
68 68
   Assuming you run Redmine with a user named "redmine":
69 69
     sudo chown -R redmine:redmine files log tmp public/plugin_assets
70 70
     sudo chmod -R 755 files log tmp public/plugin_assets
71 71

  
72 72
8. Test the installation by running the Puma web server
73
   
73

  
74 74
   Under the main application directory run:
75 75
     ruby bin/rails server -e production
76
   
76

  
77 77
   Once Puma has started, point your browser to http://localhost:3000/
78 78
   You should now see the application welcome page.
79 79

  
80 80
9. Use the default administrator account to log in:
81 81
   login: admin
82 82
   password: admin
83
   
83

  
84 84
   Go to "Administration" to load the default configuration data (roles,
85 85
   trackers, statuses, workflow) and to adjust the application settings
86 86

  
doc/UPGRADING
13 13
   and your configuration file (RAILS_ROOT/config/configuration.yml)
14 14
   into the new config directory
15 15
   Note: before Redmine 1.2, SMTP configuration was stored in
16
   config/email.yml. It should now be stored in config/configuration.yml. 
16
   config/email.yml. It should now be stored in config/configuration.yml.
17 17

  
18 18
3. Copy the RAILS_ROOT/files directory content into your new installation
19 19
   This directory contains all the attached files.
......
43 43
   It will be loaded automatically when running `bundle install`.
44 44

  
45 45
6. Generate a session store secret
46
   
46

  
47 47
   If you're upgrading from Redmine 2.x or below, remove the following file
48 48
   if it exists: config/initializers/secret_token.rb
49 49

  
......
62 62
   need to upgrade the plugin migrations before running the plugin migrations
63 63
   using:
64 64
     bundle exec rake db:migrate:upgrade_plugin_migrations RAILS_ENV="production"
65
   
65

  
66 66
   Please make a backup before doing this! Under the new application
67 67
   directory run:
68 68
     bundle exec rake db:migrate RAILS_ENV="production"
69
   
69

  
70 70
   If you have installed any plugins, you should also run their database
71 71
   migrations using:
72 72
     bundle exec rake db:migrate_plugins RAILS_ENV="production"
73
   
73

  
74 74
8. Clear the cache and the existing sessions by running:
75 75
     bundle exec rake tmp:cache:clear tmp:sessions:clear
76 76

  
(1-1/3)