Scripts for automating routines.
mkdir laser-game
cd laser-game
git clone git@github.com:laser-game/utils.git
It installs the required .deb
packages.
./apt.sh
Clone is a bash script for creating a folder tree and cloning repositories to their correct location.
pwd # /home/wykys/projects/laser-game/utils
./clone.sh
VENV create the virtual enviroment from requirements.txt
in sw module root folder.
pwd # /home/wykys/projects/laser-game/sw/manager
./../../utils/venv.sh
This script creates and initiates the database. The old database is renamed db.sqlite3_old
. After initialization, the process for creating django superuser is started.
pwd # /home/wykys/projects/laser-game
./utils/database.sh
This script runs the django server.
pwd # /home/wykys/projects/laser-game
./utils/server.sh
This script runs the driver.
pwd # /home/wykys/projects/laser-game
./utils/driver.sh