Dashboard > blojsom > ... > Developers Guide > Configuring New Blogs From The Command Line
  blojsom Log In   View a printable version of the current page.  
  Configuring New Blogs From The Command Line
Added by David Czarnecki, last edited by David Czarnecki on Jul 04, 2005  (view change)
Labels: 
(None)

The following example assumes you are adding a new blog identified by newid. Change this appropriately for the blog id you want to add.

Alternatively, you can setup the blojsom plugin to configure users through the web administration interface.

  1. Change to the directory where blojsom is installed.
  2. Copy the entire /WEB-INF/bootstrap directory contents to /WEB-INF/newid.
  3. Modify the blojsom-users property in /WEB-INF/blojsom.properties to be:

    blojsom-users=default, newid

    You may also separate the blog IDs on separate lines such as:

    blojsom-users=default
    blojsom-users=newid

  4. Configure /WEB-INF/newid/blog.properties file for your blog. In particular,
    you'll need to configure:

    blog-home=/some/location/for/blogs/newid/
    blog-base-url=http://localhost:8080/blojsom/
    blog-url=http://localhost:8080/blojsom/blog/newid/

  5. Make sure you create the directory defined by blog-home. blojsom does not create this directory for you.
  6. Create a directory where blojsom is installed under resources with the same name as the new blog you just created.
  7. Move all of the files from /WEB-INF/newid/resources/ directory to the /resources/newid/ you created under the blojsom installation directory.
  8. You might want to configure blog-name and blog-description as well to make sure
    you're seeing a different blog than the default blog.
  9. Configure /WEB-INF/newid/authorization.properties to add any users authorized
    to post to that blog.

After starting your server, you should be able to load
http://localhost:8080/blojsom/blog/newid/ and see the new blog.

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators