Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
3093124c
Commit
3093124c
authored
Dec 04, 1998
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added default data handling
parent
786ae429
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
wo_pcgi.py
wo_pcgi.py
+16
-3
No files found.
wo_pcgi.py
View file @
3093124c
...
...
@@ -17,13 +17,26 @@ import build_extensions
print
print
'-'
*
78
print
'making the var directory'
os
.
chdir
(
home
)
os
.
mkdir
(
'var'
)
data_dir
=
os
.
path
.
join
(
home
,
'var'
)
sbin_dir
=
os
.
path
.
join
(
home
,
'sbin'
)
db_path
=
os
.
path
.
join
(
data_dir
,
'Data.bbb'
)
dd_path
=
os
.
path
.
join
(
sbin_dir
,
'Data.bbb.in'
)
if
not
os
.
path
.
exists
(
data_dir
):
print
'creating data directory'
os
.
mkdir
(
'var'
)
if
not
os
.
path
.
exists
(
db_path
):
print
'creating default database'
os
.
system
(
'cp %s %s'
%
(
dd_path
,
db_path
))
print
print
'-'
*
78
print
'NOTE: change owndership or permissions on var so that it can be'
print
' writen by the web server!'
print
' writ
t
en by the web server!'
print
print
"NOTE: The default super user name and password are 'superuser'"
print
" and '123'. Create a file named 'access' in this directory"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment