You can get the details in Roller's install guide document. Use Mysql or other Database to save your data, do not use the default Derby.
在 2012年3月20日 下午9:35,Tiger Gui <[email protected]>写道: > Hi, > > You can get the details in this guide in attach file > > 在 2012年3月20日 下午9:10,Shen Hongzhou <[email protected]>写道: > > Thank you, Dave. >> >> Actually, I would like to do some development things. I also think Jetty >> and Derby is convenient. But I don't know how to avoid the lost of data >> when restart Roller. Maybe there are somewhere to set? >> >> Regards, >> Hongzhou >> >> >> Running Roller via the Maven build script and "mvn jetty:run" is only >> meant >> > for development. In development we use Jetty and Derby because they are >> > easy to setup an start from the Maven build script. >> > >> > If you want to run Roller "in production" for a real blog, the best >> > approach is to follow the installation guide, install Roller into Tomcat >> > and use MySQL as the database. >> > >> > - Dave >> > >> > >> > >> > 2012/3/20 Shen Hongzhou <[email protected]> >> > >> > > By the way, I use eclipse as IDE. >> > > >> > > 2012-3-20 12:26 am, Shen Hongzhou <[email protected]>: >> > > >> > > > Hi everybody, >> > > > >> > > > I'm new to Roller and I just ran the source code of Roller, >> everything >> > > > works fine. I created a new user and a new blog. >> > > > But when I stopped Roller and ran it again, all of newly created >> data >> > > > disappeared, there is no user and no blog. I guess maybe the Derby >> > > cleared >> > > > the old data when it was started. >> > > > >> > > > So, I just want to know how to keep the old data when I restart the >> > > > Roller? >> > > > Or, maybe I can use MySQL for developing, how can I change to MySQL? >> > > > >> > > > This is my first time to user maven+jetty+Derby, I'm sorry for this >> > kind >> > > > of "stupid" question. >> > > > >> > > > Regards, >> > > > Hongzhou >> > > > >> > > >> > >> > >> > >> > -- >> > Dave M. Johnson >> > Apache Roller PMC Chair >> > http://rollerweblogger.org/roller >> > >> > > > > -- > Best Regards From Tiger Gui > -------------------------------------- > Open source is some kind of life attitude > -- Best Regards From Tiger Gui -------------------------------------- Open source is some kind of life attitude
