@@ -53,8 +53,7 @@ To compile Swedish localization support using Babel, run:
53
53
54
54
flask translate
55
55
56
-
57
- _ Note_ : Might fail with a [ RuntimeError] {.title-ref} if your shell env is set to
56
+ _ Note_ : Might fail with a ` RuntimeError ` if your shell env is set to
58
57
use ASCII. Solve it like so:
59
58
60
59
export LC_ALL=sv_SE.UTF-8
@@ -68,8 +67,7 @@ To run all tests, run :
68
67
69
68
## Migrations
70
69
71
- Whenever a database migration needs to be made. Run the following
72
- commands:
70
+ Whenever a database migration needs to be made. Run the following commands:
73
71
74
72
flask db migrate
75
73
@@ -109,18 +107,15 @@ cache all your assets forever by including the following line in your
109
107
The latest application build can be built and run using Docker for
110
108
testing purposes:
111
109
112
- docker build -t mblomdahl/ xl_auth .
113
- docker run -it -p 5000:5000 mblomdahl/ xl_auth
110
+ docker build -t xl_auth .
111
+ docker run -it -p 5000:5000 xl_auth
114
112
115
113
All Flask command-line tools are accessed by optional input argument to
116
- the container, e.g. ` flask shell -> docker run -it ...ahl/auth shell ` ,
117
- ` flask db -> docker run -it ...ahl/auth db ` .
114
+ the container, e.g. ` flask shell -> docker run -it xl_auth shell ` ,
115
+ ` flask db -> docker run -it xl_auth db ` .
118
116
119
- Docker images built by Jenkins can be tried out locally by executing the
120
- following steps:
117
+ Create a user:
121
118
122
- docker run -itp 5000:5000 --rm --name xl_auth mblomdahl/xl_auth:next
123
- # Above command does not detach, so, in another terminal:
124
119
docker exec -it xl_auth /usr/local/bin/flask create-user -e [email protected] -p 1234 --force \
125
120
--is-admin --is-active
126
121
# Now open localhost:5000 in the browser and login as [email protected]
0 commit comments