Permalink
Browse files

Update README.markdown

  • Loading branch information...
1 parent 8cae6cf commit 74756096d1a196f450dfc4b6ef79f17cce896019 @kganders kganders committed Apr 11, 2012
Showing with 3 additions and 8 deletions.
  1. +3 −8 README.markdown
View
11 README.markdown
@@ -42,14 +42,9 @@ You can view this code in production at http://status.lstn.net/
* If you receive the error ```Fatal error: Class 'SQLite3' not found```, then your PHP instance does not have the SQLite3 module loaded.
* How do I add services to a facility
1. SSH into your server and go to the directory "cache" that has "status.db" in it.
-
- 2. To get facility IDs run:
- sqlite3 status.db "SELECT * FROM `facilities`"
-
- 4. Then run:
- sqlite3 status.db "INSERT INTO facilities_services (facilities_id, friendly_name, status) VALUES (2, 'Web Server', 'online')"
-
- I used "2" as the ID in my example, and "Web Server" as the service. You would simply run that command again making changes to those variables to add more services.
+ 2. To get facility IDs run: ```sqlite3 status.db "SELECT * FROM `facilities`"```
+ 3. Then run: ```sqlite3 status.db "INSERT INTO facilities_services (facilities_id, friendly_name, status) VALUES (2, 'Web Server', 'online')"```
+ 4. I used "2" as the ID in my example, and "Web Server" as the service. You would simply run that command again making changes to those variables to add more services.
## License

0 comments on commit 7475609

Please sign in to comment.