File Annotation
Not logged in
1eb067d456 2008-12-12    kejoki: <h2>new</h2>
1eb067d456 2008-12-12    kejoki: 
1eb067d456 2008-12-12    kejoki: The <code>new</code> command allows you to create a brand new
1eb067d456 2008-12-12    kejoki: repository.
1eb067d456 2008-12-12    kejoki: 
1eb067d456 2008-12-12    kejoki: Pragmatically, this means that an SQLite database is created with
1eb067d456 2008-12-12    kejoki: whatever name you specified, and set up with the appropriate tables
1eb067d456 2008-12-12    kejoki: and initial data.
1eb067d456 2008-12-12    kejoki: 
1eb067d456 2008-12-12    kejoki: There's not much to <code>new</code>, it's what happens afterward that
1eb067d456 2008-12-12    kejoki: gets a project going:
1eb067d456 2008-12-12    kejoki: 
1eb067d456 2008-12-12    kejoki:   Once you have a new repository file, you need to create and cd to a
1eb067d456 2008-12-12    kejoki:   directory in which you will store your files, or move into an
1eb067d456 2008-12-12    kejoki:   existing directory which contains the files for a project.
1eb067d456 2008-12-12    kejoki: 
1eb067d456 2008-12-12    kejoki:   Then, you need to [./cmd_open.wiki | <code>open</code>] the new
1eb067d456 2008-12-12    kejoki:   repository, and get the server running so you can set up the project
1eb067d456 2008-12-12    kejoki:   name and so forth.
1eb067d456 2008-12-12    kejoki: 
1eb067d456 2008-12-12    kejoki:   Finally, you'll [./cmd_add.wiki | <code>add</code>] files to it.  If
1eb067d456 2008-12-12    kejoki:   you are adding exisiting files, you can add them individually, via
1eb067d456 2008-12-12    kejoki:   globbing from the shell, or by adding the directory (which will add
1eb067d456 2008-12-12    kejoki:   all of the directory's file-system descendants recursively.)
1eb067d456 2008-12-12    kejoki: 
1eb067d456 2008-12-12    kejoki: But you can't do all that until you create a repository file with
1eb067d456 2008-12-12    kejoki: <code>new</code>.
1eb067d456 2008-12-12    kejoki: 
a9dcbf3ede 2008-12-16    kejoki: See also:
a9dcbf3ede 2008-12-16    kejoki: [./cmd_open.wiki | fossil open],
1eb067d456 2008-12-12    kejoki: [./cmd_add.wiki | fossil add],
1eb067d456 2008-12-12    kejoki: [./cmd_server.wiki | fossil ui],
1eb067d456 2008-12-12    kejoki: [./reference.wiki | Reference]