Merge branch 'master' of github.com:dballard/transmet
This commit is contained in:
commit
2b77215d05
10
README.md
10
README.md
|
@ -6,8 +6,8 @@ Usecase: storing interesting news articles you come across during a week with at
|
|||
|
||||
## Note
|
||||
|
||||
As this is a personal project, some of the niceities like user managment and category managment
|
||||
(that are one time tasks) are left to be done in SQL. I needed a tool to store links and export
|
||||
As this is a personal project, some of the niceities like user managment
|
||||
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.
|
||||
|
||||
# Install
|
||||
|
@ -60,6 +60,8 @@ edit transmet.conf to point to correct location
|
|||
|
||||
sudo cp transmet.conf /etc/init
|
||||
|
||||
./gen-csrf.sh
|
||||
|
||||
sudo service transmet start
|
||||
|
||||
## Setup environment
|
||||
|
@ -67,7 +69,3 @@ sudo service transmet start
|
|||
### Adding a user
|
||||
|
||||
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]);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/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
|
||||
|
|
Loading…
Reference in New Issue