iyanuashiri / meethub

This is a Python/Django based event management system. A meetup clone.
https://themeethub.herokuapp.com
MIT License
439 stars 48 forks source link

Can you tell me how to install on Local(Macbook). #17

Closed high5 closed 6 years ago

high5 commented 6 years ago

Hello. I'm japanese. I'm a begginer of django & python. Can you tell me how to install on Local(Macbook). Can you tell me how to use Meethub on Local(Macbook). I want to use Mysql which already installed. I have already install python & django.

$ git clone
$ git clone git@github.com:iyanuashiri/meethub.git
$ cd meethub
$ pip install -r requirements.txt
mysql> CREATE DATABASE meethub CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'meethub',
        'USER': 'root',
        'PASSWORD': '***',
        'HOST': 'localhost',   # Or an IP Address that your DB is hosted on
        'PORT': '3306',
    }
}

error output

$ python manage.py makemigration
KeyError: 'CLOUD_NAME'

During handling of the above exception, another exception occurred:`
high5 commented 6 years ago

solved!! edit meethub/.env

DEBUG=True

SECRET_KEY=your-secret-key

CLOUD_NAME=***
API_KEY=***
API_SECRET=***