Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Jashann/Hackathon-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1 Commit

Repository files navigation

hackathon-2024

Setup

Pre-Requirements

  1. Python
  2. NodeJS
  3. Docker + docker-compose (optional)

Frontend

  1. Install required npm packages with the following commands:
cd frontend
npm install

Backend

  1. Install required python packages with the following command:
pip install -r backend/requirements.txt

Production

This project is deployed on an AWS EC2 LightSail instance running Amazon Linux.

  1. Set up SSH keys
ssh-keygen
cat .ssh/id_rsa.pub # Copy and add to GitHub
echo "your-pub-ssh-key" >> .ssh/authorized_keys # give permission for SSH (optional)
  1. Initial installation of git, python (optional), and docker/docker-compose
sudo yum install git python docker
sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo systemctl start docker.service # start docker system service
sudo systemctl enable docker.service # enable docker to start on reboot
sudo usermod -aG docker $USER # give docker 'sudo' privileges
  1. Clone project
git clone ...
  1. Execute project
cd ...
docker-compose up --build -d

About

It works on my computer :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /