shockjiang | a5ae48c | 2014-07-27 23:21:41 -0700 | [diff] [blame^] | 1 | #how to create the database |
2 | pre-requirements: | ||||
3 | 1. sqlite3 installed | ||||
4 | |||||
5 | Steps to install and reset the database: | ||||
6 | 1. run shell and go to the src/db directory as working directory | ||||
7 | 2. run command sqlite3 ndns-local.db on shell and thus, enter the sqlit3 shell program | ||||
8 | 3. run .read ndns-database-tables.sql, which create the tables | ||||
9 | 4. run .read ndns-database-data-demo.sql, which insert demo data into database | ||||
10 | |||||
11 |