Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jelle van der Waa
Archweb
Commits
d716d648
Commit
d716d648
authored
Jan 05, 2008
by
eliott
Browse files
Updated docs
parent
424d2a77
Changes
2
Hide whitespace changes
Inline
Side-by-side
README
View file @
d716d648
...
...
@@ -14,16 +14,14 @@ For a simple testing installation:
1. Install dependencies.
pacman -S django python-pysqlite sqlite3
or
pacman -S django mysql mysql-python
2.
Configure
database
For simple testing, sqlite is a good option.
If using mysql, create a database, and a user with permission to
that database.
2.
Extract test
database
For simple testing, sqlite is a good option.
We have provided an
example test database.
gzip -cd ./testing/database/archweb_sqlite.db.gz > archweb.db
3.
P
op
ulate database with test data
Run ./scripts/testing/load_data.bash
3.
C
op
y local_settings.py.example to local_settings.py and modify
Make sure to uncomment the sqlite section.
4. Use the following commands to start a service instance
export PYTHONPATH=`pwd`:${PYTHONPATH}
...
...
local_settings.py.example
View file @
d716d648
...
...
@@ -10,7 +10,7 @@ ADMINS = (
## Sqlite Database settings
#DATABASE_ENGINE = 'sqlite3'
#DATABASE_NAME = 'arch
linux
.db'
#DATABASE_NAME = 'arch
web
.db'
## MySQL Database settings
#DATABASE_ENGINE = 'mysql'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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