Merge pull request #85 from gopesht/fix_devise_secret_key_issue
Fix devise secret key by assigning some random string
This commit is contained in:
commit
a7fa584ed7
1 changed files with 8 additions and 1 deletions
|
|
@ -19,7 +19,13 @@ git clone https://github.com/openSUSE/osem.git
|
||||||
bundle install
|
bundle install
|
||||||
```
|
```
|
||||||
3. Install ImageMagick from your distribution repository
|
3. Install ImageMagick from your distribution repository
|
||||||
4. Copy the sample configuration files and adapt them
|
4. Generate secret key for devise and the rails app with
|
||||||
|
```
|
||||||
|
rake secret
|
||||||
|
```
|
||||||
|
Look at config/config.yml.example.
|
||||||
|
|
||||||
|
5. Copy the sample configuration files and adapt them
|
||||||
```
|
```
|
||||||
cp config/config.yml.example config/config.yml
|
cp config/config.yml.example config/config.yml
|
||||||
cp config/database.yml.example config/database.yml
|
cp config/database.yml.example config/database.yml
|
||||||
|
|
@ -28,6 +34,7 @@ cp config/database.yml.example config/database.yml
|
||||||
```
|
```
|
||||||
bundle exec rake db:setup
|
bundle exec rake db:setup
|
||||||
```
|
```
|
||||||
|
|
||||||
7. Run OSEM
|
7. Run OSEM
|
||||||
```
|
```
|
||||||
rails server
|
rails server
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue