Merge branch 'master' of github.com:dballard/transmet

This commit is contained in:
Dan Ballard 2015-11-22 09:55:42 -08:00
commit 2b77215d05
2 changed files with 5 additions and 7 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]);

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
dd if=/dev/random of=csrf-secret.txt count=32 bs=1 dd if=/dev/urandom of=csrf-secret.txt count=32 bs=1