Welcome to Music Blog Site! This repository provide a simple music blog backended by django framework.
The key feature of music blog are as follows:
- Contains multi-media (video, podcast) on the main page.
- Blog contains Image gallery, pop-up video, quick menu navigation.
- The admin interface allow the user add the new video, podcast.
- Structured template easily reflect update of video and podcast.
# Clone the repository
git clone https://github.com/yourusername/your-music-blog.git
# Change directory
cd personal_homepage
# Install dependencies
pip install -r requirement.txt
user@:/personal_homepage/$ python manage.py runserver $PORT
we'll omit the path in the later examples
-
Open
personal_homepage/settings
and turnDEBUG
flag to False. -
Copy the staticfile to the
STATIC_ROOT
python manage.py collections
-
Run the server with whitenoise middleware (for easily deployment)
if you have setup apache/nginx, it would be better to server the service via staticfile cache, ..., etc.
python manage.py runserver $PORT
- Forward your local service online via ngrok
Suppose you have ngrok account and the secret key yaml file properly setup in local.
ngrok https $PORT
please check the LICENSE under this project.