Skip to content

Install

Quivo edited this page Mar 16, 2018 · 18 revisions

fanarchive Installation

Instructions

These are barebones for now, but should be sufficient to get you started.

Windows

Step 1: Install Python

First, install Python 3.6. If you have a package manager (e.g. Chocolatey) or some certain types of IDEs (e.g. one of the many versions of Visual Studio) installed, or have already previously installed this version of Python, you may be able to skip this step.

  • To check if Python is installed properly, and has been added to your PATH:
    • open Command Prompt (search for 'cmd' or 'command prompt' in the Start menu)
    • type in python and hit enter
    • python should tell you its version and offer you an interpreter prompt.
  • If Python has not been added to your PATH:
    • find Python on your system
    • add Python to your PATH by:
      • searching the Start menu for environment variables
      • right click on System Properties
      • choose "run as administrator" ?
      • blah, rest of tutorial

Optional: Virtual Environment

If you want to use virtual environments to do your work, this is the time to set them up. Follow this tutorial (omitting the Flask-related stuff) and you should be all set.

Step 2: Install Django

  • To install Django 2.0.3:
    • Go to Command Prompt
    • (optional) type in workon $project_name and hit enter to start your virtual environment, if needed
    • type pip install django and hit enter
    • typing in pip list should show that pytz and Django have been installed.

Step 3: Install Jinja

  • To install Jinja 2:
    • Go to Command Prompt
    • (optional) type in workon $project_name and hit enter to start your virtual environment, if needed
    • type pip install Jinja2 and hit enter
    • typing in pip list should show that Jinja2 and MarkupSafe have been installed.

Step 4: cloning the fanarchive repo

TBD

Mac

TBD

Linux

TBD

Clone this wiki locally