Deploy from Scratch
Documentation is currently in progress.
Please check back later for updates.
- Prerequisites
- Building Test Environment
- Database Setup
- Cache Setup
- Flower & Celery Setup
- Kerberos Setup
- UI Setup
- UI Docs Setup
- Backend Setup
- Post-Deployment Steps
- Troubleshooting
- Status
- Contributing
Prerequisites
Before beginning the deployment process, ensure you have:
- Root/sudo access to your system
- Git installed
- Internet connection for downloading packages
- Basic knowledge of Linux command line
Tested on
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
Install system dependencies
sudo apt-get update \
&& sudo apt-get install -y --no-install-recommends \
gettext \
python3-celery \
rsync \
flex \
bison \
ninja-build \
libjansson-dev \
libjansson-doc \
libjansson4 \
libpopt-dev \
libpcre3-dev \
pixz \
libxml-parser-perl \
build-essential \
curl \
libkrb5-dev \
libffi-dev \
libxml2-dev \
libyaml-dev \
libssl-dev \
libglib2.0-dev \
git \
python3.12-venv \
build-essential \
python-is-python3 \
2to3 \
libkrb5-dev \
libffi-dev \
unzip \
python-is-python3 \
python3.12-dev \
&& cpan -T JSON
Building Test Environment
1. Clone the Repository
git clone https://github.com/ts-factory/test-environment.git
cd ./test-environment
2. Set Up Python Virtual Environment
python3 -m venv .venv
source .venv/bin/activate
3. Install Meson Build System
pip install meson==1.6.1
4. Build the Test Environment
./dispatcher.sh -q --conf-builder=builder.conf.tools --no-run
5. Update System PATH
echo "export PATH=\"$(pwd)/build/inst/default/bin:\$PATH\"" >> ~/.bashrc
source ~/.bashrc
Database Setup
Documentation is currently in progress.
Please check back later for updates.
Cache Setup
Documentation is currently in progress.
Please check back later for updates.
Flower & Celery Setup
Documentation is currently in progress.
Please check back later for updates.
Kerberos Setup
Documentation is currently in progress.
Please check back later for updates.
UI Setup
Prerequisites
- Install
fnm
- Install node via fnm
fnm install --lts
- Install pnpm
npm install -g pnpm@latest-10
- Install
nx
pnpm install -g nx
Build UI
1. Clone repo
git clone https://github.com/ts-factory/bublik-ui
cd ./bublik-ui
2. Install Dependencies
pnpm install --frozen-lockfile
3. Build UI
Refer to documentation for UI for more information
BASE_URL="/v2" nx run bublik:build --base="/v2" --sourcemap="true"
4. You can find output at dist/apps/bublik
UI Docs Setup
Prerequisites
Build Docs
1. Clone repo
git clone https://github.com/ts-factory/bublik-release
cd ./bublik-release
2. Install Dependencies
pnpm install --frozen-lockfile
3. Build Docs
Refer to documentation for UI for more information
BASE_URL="/docs/" URL="http://localhost" pnpm build
4. You can find output at ./build
Backend Setup
1. Clone the Backend Repository
git clone https://github.com/ts-factory/bublik.git
cd bublik
2. Set Up Python Virtual Environment
python3 -m venv .venv
source .venv/bin/activate
3. Install Python Dependencies
pip install -r requirements.txt
4. After Deployment
- Create superuser with
./manage.py createsuperuser
- Once deployment is successful, you can fine-tune the configurations to suit your needs.
Post-Deployment Steps
After successful deployment:
- Verify the installation by running basic system checks (documentation pending)
- Configure the system according to your needs by referring to the Configuration Guide
- Set up monitoring and logging (documentation pending)
- Implement backup procedures (documentation pending)
Troubleshooting
If you encounter issues during deployment:
- Check system logs for errors
- Ensure all prerequisites are properly installed
- Verify system requirements are met
- Contact support if issues persist
Status
This documentation is currently under development.
Please check back regularly for updates and additional information.
Contributing
We welcome contributions to improve this documentation. Please submit pull requests or open issues in the repository.