Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
anis
anis-admin
Commits
a14c424a
Commit
a14c424a
authored
Jan 06, 2020
by
Tifenn Guillas
Browse files
Restore theme color + Add Makefile commands
parent
2746bdba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
a14c424a
UID
:=
1000
GID
:=
1000
NAME_APP
=
anis-admin
list
:
@
echo
""
@
echo
"Useful targets:"
@
echo
""
@
echo
" install > install node modules dependancies (node_modules)"
@
echo
" start > run a dev server for
anis client
application (in memory)"
@
echo
" stop > stop the dev server for
anis client
application"
@
echo
" restart > restart the dev server for
anis client
(container)"
@
echo
" status > display
anis-admin
container status"
@
echo
" test > run
anis client
tests"
@
echo
" start > run a dev server for
$(NAME_APP)
application (in memory)"
@
echo
" stop > stop the dev server for
$(NAME_APP)
application"
@
echo
" restart > restart the dev server for
$(NAME_APP)
(container)"
@
echo
" status > display
$(NAME_APP)
container status"
@
echo
" test > run
$(NAME_APP)
tests"
@
echo
" dist > generate the angular dist application (html, css, js)"
@
echo
" logs > display
anis client
container logs"
@
echo
" shell > shell into
anis client
container"
@
echo
" logs > display
$(NAME_APP)
container logs"
@
echo
" shell > shell into
$(NAME_APP)
container"
@
echo
""
install
:
...
...
@@ -23,22 +24,21 @@ install:
start
:
@
docker build
-t
anis-node conf-dev
&&
docker run
--init
-it
--rm
--user
$(UID)
:
$(GID)
\
--name
anis-admin
\
--name
$(NAME_APP)
\
-p
4201:4201
\
-p
9876:9876
\
-v
$(CURDIR)
:/project
-d
\
-w
/project anis-node ng serve
--host
=
0.0.0.0
--disable-host-check
--port
4201
stop
:
@
docker stop
anis-admin
@
docker stop
$(NAME_APP)
restart
:
stop start
status
:
@
docker ps
-f
name
=
anis-admin
@
docker ps
-f
name
=
$(NAME_APP)
test
:
@
docker
exec
-ti
anis-admin
ng
test
--no-watch
@
docker
exec
-ti
$(NAME_APP)
ng
test
--no-watch
dist
:
@
docker build
-t
anis-node conf-dev
&&
docker run
--init
-it
--rm
--user
$(UID)
:
$(GID)
\
...
...
@@ -46,7 +46,7 @@ dist:
-w
/project anis-node ng build
--prod
--base-href
/admin/
logs
:
@
docker logs
-f
-t
anis-admin
@
docker logs
-f
-t
$(NAME_APP)
shell
:
@
docker
exec
-ti
anis-admin
bash
@
docker
exec
-ti
$(NAME_APP)
bash
src/app/instance/containers/instance.component.css
View file @
a14c424a
...
...
@@ -3,12 +3,12 @@
}
.card-add
{
background-color
:
#
7ac29a
;
background-color
:
#
A8C96E
;
transition
:
font-size
0.3s
;
}
.card-add
:hover
{
cursor
:
pointer
;
background-color
:
#
6dae8a
;
background-color
:
#
9dc25b
;
font-size
:
20px
;
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment