Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lordfriend committed May 7, 2016
1 parent 0f4ee87 commit 242d3e0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ There are some config that must be modified before your run the project
### init database

execute sql `bangumi_create.sql` and `user_create.sql` to init the database tables used by application. by default, you need to create an admin user to use the http admin API.
there are and CLI tool for this, use tools.py to create invite code and promote admin user
there are a CLI tool for this job, use tools.py to create invite code and promote admin user

```bash
$ python tools.py --user-add admin 1234 # admin is username 1234 is password

$ python tools.py --user-promote admin 3 # admin is username 3 is the level, currently means super user
```

## Server

Expand Down

0 comments on commit 242d3e0

Please sign in to comment.