Make some command a little more anonymous
parent
1ba8ebfe6e
commit
068fc507d3
1 changed files with 3 additions and 3 deletions
|
|
@ -416,15 +416,15 @@ Here is the `/app/__init__.py` :
|
|||
|
||||
Let's activate your virtualenv and initialize your database:
|
||||
|
||||
brice@Brice:~/Projects/dev$ . env/bin/activate
|
||||
(env)brice@Brice:~/Projects/dev1$ python shell.py
|
||||
user@Machine:~/Projects/dev$ . env/bin/activate
|
||||
(env)user@Machine:~/Projects/dev$ python shell.py
|
||||
>>> from app import db
|
||||
>>> db.create_all()
|
||||
>>> exit()
|
||||
|
||||
now you can go in your root and run `python run.py` ... this should give you something like this:
|
||||
|
||||
(env)brice@Brice:~/Projects/dev$ python run.py
|
||||
(env)user@Machine:~/Projects/dev$ python run.py
|
||||
* Running on http://127.0.0.1:5000/
|
||||
* Restarting with reloader
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue