mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
gitignore build
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -163,3 +163,4 @@ use_dev_supervisor.txt
|
||||
/Dockerfile.kube-dev
|
||||
|
||||
awx/ui_next/src
|
||||
awx/ui_next/build
|
||||
|
||||
@@ -56,12 +56,16 @@ $(UI_NEXT_SRC_DIR):
|
||||
$(MAKE) ui_next
|
||||
|
||||
.PHONY: ui_next/build
|
||||
## Build ui_next
|
||||
ui_next/build: ui_next
|
||||
## Build ui_next from source
|
||||
ui_next/src/build: ui_next
|
||||
cd $(UI_NEXT_SRC_DIR) && \
|
||||
npm install webpack && \
|
||||
npm run build:awx && \
|
||||
mv build ../
|
||||
npm run build:awx
|
||||
|
||||
.PHONY: ui_next/build
|
||||
## Copy ui_next/src/build to ui_next/build
|
||||
ui_next/build: ui_next/src/build
|
||||
cp -r $(UI_NEXT_SRC_DIR)/build $(UI_NEXT_DIR)/build
|
||||
|
||||
## Alias for ui_next/build, will not run if build already exist
|
||||
$(UI_NEXT_DIR)/build:
|
||||
@@ -77,3 +81,4 @@ ui_next/clean: ui_next/clean/build
|
||||
ui_next/clean/build:
|
||||
rm -rf $$(UI_NEXT_DIR)/build
|
||||
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ from awx.main.views import handle_400, handle_403, handle_404, handle_500, handl
|
||||
|
||||
urlpatterns = [
|
||||
re_path(r'', include('awx.ui.urls', namespace='ui')),
|
||||
re_path(r'^ui_next/.*$', include('awx.ui_next.urls', namespace='ui_next')),
|
||||
re_path(r'^ui_next/.*', include('awx.ui_next.urls', namespace='ui_next')),
|
||||
re_path(r'^api/', include('awx.api.urls', namespace='api')),
|
||||
re_path(r'^sso/', include('awx.sso.urls', namespace='sso')),
|
||||
re_path(r'^sso/', include('social_django.urls', namespace='social')),
|
||||
|
||||
Reference in New Issue
Block a user