diff --git a/Makefile b/Makefile index a7dc920..3d40460 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ clean: test: dev env/bin/py.test + #env/bin/py.test --lf serve: dev # In the first shell, run a copy of remarkbox using: diff --git a/README.rst b/README.rst index 484f9ce..abdd31e 100644 --- a/README.rst +++ b/README.rst @@ -94,17 +94,27 @@ Now browse to http://127.0.0.1:8000 and index.html will load and will have an em If you attempt to log in, your third shell will capture the email and you can copy / paste the verification link to log in! - -SQL Migrations -=============== +New Environments +================ If your deployment is brand new, you don't need to run any migrations. + +To create all the schemas & tables in your database, run: + +.. code-block:: bash + + env/bin/remarkbox_init_db development.ini + You should however run this to stamp the database as ready: .. code-block:: bash alembic -c development.ini stamp head + +SQL Migrations +=============== + Otherwise, it should be safe to run this at anytime to catch your database up: .. code-block:: bash diff --git a/index.html b/index.html index 260abe9..d413a4b 100644 --- a/index.html +++ b/index.html @@ -52,7 +52,7 @@ Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem