Content
You are here:
Getting Started After Installation OpenProject 3.0
Added by Stu Thomas over 10 years ago
Hi so I have a OpenProject 3.0 running on Ubuntu 12.04 with example Data from the Seeded Database.
How do I now move to a Clean Installation with no example data so that I can start from scratch?
PS many thanks to team that has made this possible … OpenProject rivals any commercial collaborative tools on the market :)
Replies (8)
So I ran the following after installing and having a perfectly working development environment …
$RAILS_ENV=“production” bundle exec rake db:migrate
$RAILS_ENV=“production” bundle exec rake db:seed
$RAILS_ENV=“production” bundle exec rake generate_secret_token
$RAILS_ENV=“production” bundle exec rake assets:precompile
Everything Completes so I run…
$RAILS_ENV=“production” bundle exec rails server
If I then access OpenProject at http://localhost:3000 it looks seriously corrupt (please see attached screenshot)
If I then CTRL+C and run the development environment it has issues with the drop down Sign In box on the right … is very jittery and kind of hides behind the blue banner & search box
Any help would be appreciated :)
Hello,
Database Reset
You can clean up the database with the following command:
If
db:seed
fails just restart only this command.Jittery development environment
The development mode does not work with precompiled assets, so you need to remove the assets when working in development environment with the following command:
I hope that helps and thanks a lot for the praise!
Kind regards,
Hagen
Hi Hagen Thanks for the advice however the Production Environment still looks like it has lost all the CSS, do you know why this maybe?
Hi,
now you lost me. :-) If you’re working in production you need to precompile the asset. But if you’re working in development you need to clean up the assets. In which environment are you working at the moment?
Please don’t forget to set
config.serve_static_assets = true
inconfig/environments/production.rb
.Kind regards,
Hagen
If you start your server with:
You have to deliver the assetes through the rails application. To make this happen you have to change this:
Best Ratzi
Thanks for the Help guys :) its really appreciated, I have missed the line change in production.rb.
Production Environment is now fully working! thanks again guys :)
Don’t mention it! :-)