Skip to content

Commit

Permalink
Merge pull request #114 from assem-ch/build_fix
Browse files Browse the repository at this point in the history
Build fix
  • Loading branch information
assem-ch authored Aug 27, 2024
2 parents 7fdb2de + 6c9a93d commit aafd69c
Show file tree
Hide file tree
Showing 85 changed files with 112 additions and 58 deletions.
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: '3.10'

services:
django-jet-build-ui:
build:
dockerfile: gulp_build_scripts/Dockerfile
volumes:
- ./:/django-jet-reboot
12 changes: 12 additions & 0 deletions gulp_build_scripts/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM python:3.10

# set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1

WORKDIR /startup
COPY gulp_build_scripts/entrypoint.sh .

VOLUME /django-jet-reboot

ENTRYPOINT [ "/bin/bash", "entrypoint.sh" ]
32 changes: 32 additions & 0 deletions gulp_build_scripts/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Description: This script is used to build the project

# Change into our project directory
cd /django-jet-reboot

# Install the required python packages
pip install --upgrade pip
pip install --no-cache-dir -r requirements.txt

# Install the required system packages
apt-get update && apt-get install -y curl && apt-get install -y git && apt-get install -y gettext
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

# This is required to use nvm without having to logout and log back in
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

# Install nodejs
nvm install 6.17.1

echo "Node version: $(node -v)"
echo "NPM version: $(npm -v)"

npm rebuild node-sass
# Install the required node packages
echo "Running npm install"
npm install

# Build the project
echo "Running gulp build"
node_modules/gulp/bin/gulp.js build
Binary file modified jet/dashboard/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/ar/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/cs/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/cs/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/de/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/de/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/en/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/es/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/es/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file added jet/dashboard/locale/fa/LC_MESSAGES/django.mo
Binary file not shown.
Binary file added jet/dashboard/locale/fa/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file added jet/dashboard/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
Binary file added jet/dashboard/locale/fr/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/pl/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/pt-br/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/pt-br/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/ru/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/ru/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/dashboard/locale/zh_cn/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/locale/ar/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/locale/ar/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/locale/cs/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/locale/cs/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/locale/de/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/locale/de/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/locale/en/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/locale/es/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/locale/es/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file added jet/locale/fa/LC_MESSAGES/django.mo
Binary file not shown.
Binary file added jet/locale/fa/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file added jet/locale/fr/LC_MESSAGES/django.mo
Binary file not shown.
Binary file added jet/locale/fr/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/locale/pl/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/locale/pl/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/locale/pt_BR/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/locale/pt_BR/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/locale/ru/LC_MESSAGES/django.mo
Binary file not shown.
Binary file modified jet/locale/ru/LC_MESSAGES/djangojs.mo
Binary file not shown.
Binary file modified jet/locale/zh_CN/LC_MESSAGES/django.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion jet/static/jet/css/themes/default/base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jet/static/jet/css/themes/default/base.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jet/static/jet/css/themes/default/jquery-ui.theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jet/static/jet/css/themes/default/jquery-ui.theme.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jet/static/jet/css/themes/default/select2.theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jet/static/jet/css/themes/default/select2.theme.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jet/static/jet/css/themes/green/base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jet/static/jet/css/themes/green/base.css.map

Large diffs are not rendered by default.

Loading

0 comments on commit aafd69c

Please sign in to comment.