Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SETUP #24

Open
jmikedupont2 opened this issue Sep 30, 2023 · 7 comments
Open

SETUP #24

jmikedupont2 opened this issue Sep 30, 2023 · 7 comments

Comments

@jmikedupont2
Copy link
Owner

Document the steps

  1. fork the project https://github.com/jmikedupont2/ai-ticket/fork
  2. create a pat https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens

Screenshot_20230928_200507_Chrome
Screenshot_20230928_200446_Chrome
Screenshot_20230928_200339_Chrome

  1. setup your ssh key https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
  2. create codespace https://docs.github.com/en/codespaces/developing-in-codespaces/creating-a-codespace-from-a-template
  3. setup github client https://github.com/cli/cli
  4. gh cs ssh
  5. install tmux
   apt install tmux
   tmux
  1. install emacs apt install emacs-nox

git config --global --add safe.directory /workspaces/ai-ticket
git submodule init
git submodule update
docker-compose up
history

@jmikedupont2
Copy link
Owner Author

gh cs cp emacs.el 'remote:'

@jmikedupont2
Copy link
Owner Author

set |grep GITHUB |grep -v TOKEN
GITHUB_API_URL=https://api.github.com
GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN=app.github.dev
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
GITHUB_REPOSITORY=jmikedupont2/ai-ticket
GITHUB_SERVER_URL=https://github.com
GITHUB_USER=jmikedupont2

@fxtoofaan
Copy link

here are the steps i followed before the step 11. I am on fresh Ubuntu 22.04 install.

install Python 3.10.13:
sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev
wget https://www.python.org/ftp/python/3.10.13/Python-3.10.13.tgz
tar -xf Python-3.10.13.tgz
cd Python-3.10.13
./configure --enable-optimizations
make -j 12
sudo make altinstall

Install Pip:
sudo apt update
sudo apt install python3-pip

install Git:
sudo apt install git
git clone https://github.com/fxtoofaan/ai-ticket
cd ai-ticket
git submodule init
git submodule update

install docker:
Set up Docker's Apt repository:
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg

# Add the repository to Apt sources:
echo \

"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" |
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update

Install the Docker packages:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Install Docker Engine:
sudo apt-get update
sudo apt-get upgrade

VERSION_STRING=5:24.0.6-1ubuntu.22.04jammy
sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-compose-plugin
sudo docker run hello-world

download https://desktop.docker.com/linux/main/amd64/docker-desktop-4.24.0-amd64.deb

sudo apt-get install ./docker-desktop-4.24.0-amd64.deb

docker compose version

launch docker compose:
systemctl --user start docker-desktop

sudo apt install docker-compose
docker-compose up

history

@jmikedupont2
Copy link
Owner Author

jmikedupont2 commented Oct 6, 2023

edit the .env and edit it
cp .env.example .env

@jmikedupont2
Copy link
Owner Author

to get latest version

git remote add upstream https://github.com/jmikedupont2/ai-ticket
git pull upstream

@jmikedupont2
Copy link
Owner Author

to get the latest version from me and checkout my branch

git fetch upstream 
git checkout docker-live-source-no-build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants