Ga Tech CS-6460 Project. This application is an online, game based, introductory computer science (CS1) course which leverages the Blockly programming framework to deliver content.
The application itself runs inside of a docker container. See the Makefile for detailed commands
on building / running the container.
| Command | Run in the shell? | Description |
|---|---|---|
make build |
No | Builds the container |
make start |
No | Starts the django server |
make shell |
No | Opens a shell inside the docker container (to be used to run installation / db config commands) |
make make_migration |
No | Creates new migrations |
make migrate |
Yes | Runs the database migrations |
make build_game_configs |
Yes | Loads static content into the DB |
You will need to have three terminal applications open to run this program locally. You should also have Docker installed. Each terminal should start in the project root.
In terminal 1 run:
make build- builds the Docker imagemake start- starts the Docker container and launches the server
In terminal 2 run:
make shell- connects to a bash shell in the running Docker containermake- Installs all dependencies
In terminal 3 run: (only required if you plan to change JS or SCSS files)
npm install- install all required npm packagesmake watch- sets up a watcher job for changes to JS or SCSS
- Connect to the docker shell
make shell
- Install the package
npm install --save-dev <package>
- Commit the updated
package-lock.jsonfile.
- Connect to the docker shell
make shell
- Add the library to
requirements.txt - Run
make python_install