This respository has quite poor code. Please do NOT copy it. However, feel free to use it for inspiration or just as an example of not-so-great code. The website should still be functional if you follow the instructions below the image.
- Install python and pip
- Install virtualenv with
pip install virtualenv
- Clone the repository with
git clone https://github.com/TheAvidDev/eventix-site/
- Create a virtualenv somewhere (usually one folder up or within) with
virtualenv [env-name]
- Activate the virtualenv depending on OS: Windows or Linux
- You can exit the virtualenv with
deactivate
- You can exit the virtualenv with
- Download the requirements with
pip install -r requirements.txt
- Make migrations and migrate the database with
python manage.py makemigrations
andpython manage.py migrate
- Run the server with
python manage.py runserver
- Visit the website
127.0.0.1:8000
and take a look - Modify the
SECRET_KEY
,STRIPE_SECRET_KEY
, andSTRIPE_PUBLISHABLE_KEY
in thedjangostripe/settings.py
file