Project Ice or the Integrated Coding Experience is a new way to teach and practice programming in the classroom. The goals of project Ice are as follows:
- Provide a tool for instructors to present, demonstrate, and build interactive activity to enhance their students learning
- Provide a way for students' to practice their programming skills through instructor made activities or in a sandbox environment
- Allow for a more integrated way to demonstrate programming skills
An example presentation is provided that shows three different embedded interactive coding exercises within a larger learning segment focused on for
loops in Python.
You can view a live version of the page at https://jncraton.github.io/ice/
- Clone this repository
- Open the command prompt in the project directory
- Install required python libraries
pip install requirements.txt
- Navigate to the app directory (
cd app
) - Run the command:
flask run --port 8000
- Open your browser and navigate to localhost:8000
- Navigate to the website's directory (
cd app
) - Run the command:
flask run --port 8000
- Open your browser and navigate to localhost:8000
- Navigate to the website's directory (
cd www
) - Run the command:
python -m http.server
- Open your browser and navigate to localhost:8000
We use Playwright and PyTest to run unit tests.
- (Optional) Create a new Python Virtual Environment (venv or conda works)
- Ensure the dependencies from
requirements.txt
are installed. - Open your command line in your project directory and run the following command
playwright install
- Run the server using the "running" directions above.
- Navigate back to the project directory
- Run
pytest
First, try deleting or moving the database file. Sometimes changes may be made to the database's structure, causing older versions of the database to break. A new database will be created when the app is next run. If the issue persists, please open an issue on GitHub.