If you have access to Imperial VPN, navigate to http://146.169.42.246 to view this web-application running.
You can run the application locally on your machine if you want to use your own GPU.
docker and docker-compose
CUDA configured with docker access
Clone the repository
cd /tooling/
docker-compose up --build -d
Then after containers are built, navigate to http://localhost to view the application!
- We'll be doing development using VSCode.
- We'll be using Dev Containers in VSCode, so get Docker and the dev containers extension.
- Then clone the repository locally, and do
Ctrl+Shift+PorCmd+Shift+P, select>Dev Containers: Reopen in Containerand hit enter - This will use the
.devcontainer/devcontainer.jsonto fetch the correct dev container, and setup the development environment with all the tools you'll need
Ensure to write code while in the dev container, since, especially for the Python stuff, you may come across specific issues which have been dealt with by the dev container setup.
- We'll use conventional commits via the conventional-commit pip package, i.e running
commitizento make it - For branches, we'll eventually have
mainprotected, and work primarily on thedevelopbranch, branching off of that forfeaturebranches and whatnot using git flow
- Ensure git flow is initialised with
git flow init -d - Make sure to commit regularly using
cz commit- it'll ask you some questions like what the scope of the commit is (what it has affected) etc - Make sure to stay up to date with remote changes,
git fetch --allandgit pull
Here are the main git flow rules/commands we'll be adhering to:
git flow feature start [descriptive name of feature]to start working on a specific feature - try not to make the features too long lived, but this is a loose restriction- Then merge it back in with
git flow feature finishwhile on the feature branch
- Then merge it back in with
git flow release start [tag name]the tag name should make it clear what is important about this release to make it a release- Then
git flow release finishto finish working on this release while on the hotfix branch - it'll merge it back intomainanddevelop - Also don't forget to do
git push origin --tagsto push the tagged release
- Then
git flow hotfix start [name of hotfix]only use these when you come across a bug inmainand immediately need to fix it- Finish it with
git flow hotfix finishwhile on the hotfix branch
- Finish it with
Use ./pull.sh to pull files rather than git pull