This website hosts and will host several projects, including:
Users can upload a picture of a hand-written number, and a neural network trained on the MNIST dataset will read the image, and show the number.
- Create a blank image, ssh in.
- Run the following commands:
curl -O https://raw.githubusercontent.com/skoczen/rv-website/master/bin/bootstrap_server.sh
chmod +x bootstrap_server.sh
./bootstrap_server.sh
- Fill out the
~/code/website/.env
file.
cd ~/code/website
export $(cat .env | xargs)
docker network create $WEBSITE_DOMAIN
docker-compose up -d
cd ~/code/website
git pull
If requirements.txt has changed or there are other significant changes:
docker-compose down
docker-compose build
docker-compose up -d
cd ~/code/website
docker-compose logs -f --tail=50
docker-compose run --rm --label traefik.enable=false project bash
- Website is built in Django
- Styling uses Bootstrap 4.1