Skip to content
blog
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cryptobuyer_blog
.gitignore
README.md
Vagrantfile
requirements.txt

README.md

Blog Cryptobuyer

Instalation

Install the dependencies

$ sudo aptitude update
$ sudo aptitude safe-upgrade

Install the dependencies:

$ sudo apt-get install git-core  libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev libxml2-dev libxslt-dev python-dev libssl-dev python3-pip postgresql libwv2-dev wv libpq-dev gettext python3.4-venv

Clone the Project:

$ git clone <repo-url>
$ cd blog/

Create a new virtual env:

python3 -m venv .env

Activate the virtualenv:

source .env/bin/activate

Install the Project dependencies:

pip3.4 install -r requirements.txt

Create the Database:

$ sudo su - postgres
$ psql
$ postgres@wagtail-sandbox:~$ psql
psql (9.3.13)
Type "help" for help.
postgres=# CREATE DATABASE blog;
postgres=# CREATE USER bloguser WITH PASSWORD 'blogpass';
postgres=# ALTER ROLE bloguser SET client_encoding TO 'utf8';
postgres=# ALTER ROLE bloguser  SET default_transaction_isolation TO 'read committed';
postgres=# ALTER ROLE bloguser  SET timezone TO 'UTC';
postgres=# GRANT ALL PRIVILEGES ON DATABASE blog TO bloguser;
postgres=# \q

Run the Migrations:

$ python manage.py migrate

Create a Superuser:

$ python manage.py createsuperuser

Runs the development server:

$ python manage.py runserver 0.0.0.0:8000
You can’t perform that action at this time.