Skip to content

Latest commit

 

History

History
73 lines (51 loc) · 1.28 KB

README.md

File metadata and controls

73 lines (51 loc) · 1.28 KB

License: CC BY-NC-ND 4.0

Utils

Scripts for automating routines.

Instalation:

mkdir laser-game
cd laser-game
git clone git@github.com:laser-game/utils.git

List of scripts:

APT

It installs the required .deb packages.

Use:

./apt.sh

CLONE

Clone is a bash script for creating a folder tree and cloning repositories to their correct location.

Use:

pwd # /home/wykys/projects/laser-game/utils
./clone.sh

VENV

VENV create the virtual enviroment from requirements.txt in sw module root folder.

Use:

pwd # /home/wykys/projects/laser-game/sw/manager
./../../utils/venv.sh

DATABASE

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.

Use:

pwd # /home/wykys/projects/laser-game
./utils/database.sh

SERVER

This script runs the django server.

Use:

pwd # /home/wykys/projects/laser-game
./utils/server.sh

DRIVER

This script runs the driver.

Use:

pwd # /home/wykys/projects/laser-game
./utils/driver.sh