Look at Krinsky's Guide to Rocket GUI.pdf for all information about the GUI
$ pip install pre-commit
$ pre-commit installNow whenever you try to commit, prettier will fix everything up, so you will need to git add * and then git commit again which is annoying but it makes your stuff pretty.
2: Install Node.js from https://nodejs.org/en/download/package-manager
Install playwright for integration tests by running
$ npx -y playwright@1.44.0 install --with-deps1: Download and install docker desktop from docker website https://www.docker.com/products/docker-desktop/ Create a docker account and sign in on docker desktop. You will need to keep docker desktop open when you want to run a docker container.
Open an administrative shell (powershell but run as admin)
$ Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process
$ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))$ choco install makeOnce this is done, restart your computer
Open up Docker desktop and make sure you are still signed in
Open up Docker Desktop and make sure you are still signed in
Open up this git repo in a command line and run
$ make buildSpin up the docker containers:
For dev environment which includes fake_rocket
$ make runFor prod environment which sends requests to 10.0.255.1 instead of fake_rocket
$ make run_prodNOTE: If you are starting up the containers for the first time, POSTGRES might fail because it takes time to initialize. Just make run again
To run tests, run
$ make test