Reptile Installation Guide
Quick Summary
- Clone the repo: Reptile GitHub page
- Install required packages:
pip install -r requirements.txt
- Set flask environment variables:
- Windows:
set FLASK_APP=app.py
,set FLASK_ENV=development
- Mac/Linux:
export FLASK_APP=app.py
,export FLASK_ENV=development
- Windows:
- Start the site:
flask run
orpython3 app.py
What You Need
- A computer with MacOS (for PC users, use Ubuntu in a VM)
- Basic familiarity with the Terminal app
Step 1: Software Requirement Specifications - Install Python
- Make sure you have Python installed by typing
python --version
into Terminal. If you don’t, download it from Python’s website.
Step 2: Download Reptile from GitHub
-
Visit the Reptile GitHub page
-
Use the green “Code” button to find the SSH option and copy the link provided, i.e.,
git@github.com:Columbia-DESDR/Reptile.git
-
In Terminal, navigate to where you want the project. For example:
-
Clone the repo:
-
Optional: Switch branches with
git checkout [branch-name]
if needed.
Step 3: Run Reptile Locally
-
In the reptile folder, you should see a
requirements.txt
file. Run the command to install dependencies: -
Set up Flask environments based on your operating system:
- Windows:
- Mac/Linux:
-
Start the site:
-
Terminal will give you a local URL (like
http://127.0.0.1:xxxx/
). Paste it in your browser to see your site live!