category managment now in program, removed from readme sql

This commit is contained in:
Dan Ballard 2015-11-20 13:34:12 -08:00
parent 674c44032b
commit 3f963a066f
1 changed files with 4 additions and 6 deletions

View File

@ -6,8 +6,8 @@ Usecase: storing interesting news articles you come across during a week with at
## Note ## Note
As this is a personal project, some of the niceities like user managment and category managment As this is a personal project, some of the niceities like user managment
(that are one time tasks) are left to be done in SQL. I needed a tool to store links and export are left to be done in SQL. I needed a tool to store links and export
to html so that's what I've focused on. to html so that's what I've focused on.
# Install # Install
@ -60,6 +60,8 @@ edit transmet.conf to point to correct location
sudo cp transmet.conf /etc/init sudo cp transmet.conf /etc/init
./gen-csrf.sh
sudo service transmet start sudo service transmet start
## Setup environment ## Setup environment
@ -67,7 +69,3 @@ sudo service transmet start
### Adding a user ### Adding a user
INSERT INTO users (username, password) VALUES('USERNAME', crypt('PASSWORD', gen_salt('bf'))); INSERT INTO users (username, password) VALUES('USERNAME', crypt('PASSWORD', gen_salt('bf')));
### Adding Categories
INSERT INTO categories (name, parent_id) VALUES ('NAME', [null or PARENT_ID]);