forked from mrlan/EnglishPal
README.md: update the path to wordfreqapp.db.
parent
dca76969eb
commit
25c2e0aca8
|
@ -61,15 +61,15 @@ My steps for deploying English on a Ubuntu server.
|
||||||
|
|
||||||
|
|
||||||
All articles are stored in the `article` table in a SQLite file called
|
All articles are stored in the `article` table in a SQLite file called
|
||||||
`app/wordfreqapp.db`.
|
`app/db/wordfreqapp.db`.
|
||||||
|
|
||||||
### Adding new articles
|
### Adding new articles
|
||||||
|
|
||||||
To add articles, open and edit `app/wordfreqapp.db` using DB Browser for SQLite (https://sqlitebrowser.org).
|
To add articles, open and edit `app/db/wordfreqapp.db` using DB Browser for SQLite (https://sqlitebrowser.org).
|
||||||
|
|
||||||
### Extending an account's expiry date
|
### Extending an account's expiry date
|
||||||
|
|
||||||
By default, an account's expiry is 30 days after first sign-up. To extend account's expiry date, open and edit `user` table in `app/wordfreqapp.db`. Simply update field `expiry_date`.
|
By default, an account's expiry is 30 days after first sign-up. To extend account's expiry date, open and edit `user` table in `app/db/wordfreqapp.db`. Simply update field `expiry_date`.
|
||||||
|
|
||||||
### Exporting the database
|
### Exporting the database
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ sqlite3 wordfreqapp.db`. Delete wordfreqapp.db first if it exists.
|
||||||
### Uploading wordfreqapp.db to the server
|
### Uploading wordfreqapp.db to the server
|
||||||
|
|
||||||
|
|
||||||
`pscp wordfreqapp.db lanhui@118.*.*.118:/home/lanhui/englishpal2/EnglishPal/app/static`
|
`pscp wordfreqapp.db lanhui@118.*.*.118:/home/lanhui/englishpal2/EnglishPal/app/db/`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue