-
Notifications
You must be signed in to change notification settings - Fork 6
How to develop with Windows
Follow these steps to make life easier.
git clone https://github.com/CSC510-Group-25/feature-hunt.git
Alternatively, you can clone your own fork, or clone the repository from your IDE.
You can choose whichever IDE works best for you, but bear in mind that this guide was made with Visual Studio Code as a reference.
You will need the following extensions:
VSCode Python
Pylance
Prettier
not necessary since there is a 'yarn lint' command that runs it, but it can make things easier if you're in a hurry.
Once you have your IDE set up, use it to open feature-hunt.
Using your IDE, open up a terminal. Use Git Bash or Power Shell to make life easier, though Git Bash is the better option.
Ensure that the current directory is feature-hunt!
Install virtualenv if you don't have it already: https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
Then run the following command:
python -m venv .venv
to create a virtual environment.
If you're having issues: Flask installation
Then, open up the command palette (ctrl + shift + p, or under View tab) and select 'Python: select interpreter.'
Once you have your environment set up, open up a new Git Bash and move to the next step.
Installs the dependencies for the React App
Installs the requirements for the Flask API
Follow the guide on the README to launch your project.