Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Getting Started After Installation OpenProject 3.0

Getting Started After Installation OpenProject 3.0

Added by Stu Thomas about 11 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)

RE: Getting Started After Installation OpenProject 3.0 - Added by Stu Thomas about 11 years ago

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 :)

RE: Getting Started After Installation OpenProject 3.0 - Added by Hagen Schink about 11 years ago

Hello,

Database Reset

You can clean up the database with the following command:

bundle exec rake db:drop db:create db:migrate db:seed

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:

bundle exec rake assets:clean

I hope that helps and thanks a lot for the praise!

Kind regards,
Hagen

RE: Getting Started After Installation OpenProject 3.0 - Added by Stu Thomas about 11 years ago

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?

RE: Getting Started After Installation OpenProject 3.0 - Added by Hagen Schink about 11 years ago

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 in config/environments/production.rb.

Kind regards,
Hagen

RE: Getting Started After Installation OpenProject 3.0 - Added by Christian Ratz about 11 years ago

If you start your server with:

RAILS_ENV=production bundle exec rails server

You have to deliver the assetes through the rails application. To make this happen you have to change this:

File: config/environments/production.rb line 44

from:
  config.serve_static_assets = false
to:
  config.serve_static_assets = true

Best Ratzi

RE: Getting Started After Installation OpenProject 3.0 - Added by Stu Thomas about 11 years ago

Thanks for the Help guys :) its really appreciated, I have missed the line change in production.rb.

RE: Getting Started After Installation OpenProject 3.0 - Added by Stu Thomas about 11 years ago

Production Environment is now fully working! thanks again guys :)

RE: Getting Started After Installation OpenProject 3.0 - Added by Hagen Schink about 11 years ago

Don’t mention it! :-)

  • (1 - 8/8)
Loading...