Skip to content
/ blog Public

Simple and powerful blog written in django and react(currently not available)

Notifications You must be signed in to change notification settings

funnydman/blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fancy blog

Simple and powerful blog written in django and react

djangoreact

build status Coverage Status Requirements Status

LOCAL DEPLOYMENT

Create and activate virtual environment

virtualenv --python=$(which python3) venv
source venv/bin/activate

Install packages with pipenv

pipenv install && pipenv shell

Create and configure database

Sign in as postgres user

sudo -su postgres psql

Create db and user

CREATE DATABASE adminblog;
CREATE USER adminblog WITH password 'adminblog';
GRANT ALL ON DATABASE adminblog TO adminblog;

Allow user to create db for running django tests

ALTER USER adminblog CREATEDB;

DON'T use this credentials in production!

Set up django

Go to server directory and run:

python manage.py migrate
python manage.py runserver

Build client part

Go to client directory and run:

npm install && npm run start

Navigate to http://localhost:3000

Happy coding!

About

Simple and powerful blog written in django and react(currently not available)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •