Skip to content

mar-vic/diera-prod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diera-prod

Website of the cultural center Diera do sveta

Set-up

Deployment on PythonAnywhere

Following the instructions on PythonAnywhere help pages:

Upload the code to PythonAnywhere

Init: git clone https://github.com/mar-vic/diera-prod.git

Update: git pull origin main

Create virtual environment and install requirements

$ mkvirtualenv --python=/usr/bin/python3.8 diera
(diera)$ pip install -r requirements.txt

Set-up the web app and WSGI file

Set-up database

In settings.py:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': '<user>$<database>',
        'USER': '<user>,
        'PASSWORD': '<password>,
        'HOST': '<user>.mysql.eu.pythonanywhere-services.com',
     }
}

Set-up static files serving

About

Website of the cultural center Diera do sveta

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published