Sign inSign up

mantiby/semkov

By mantiby

Updated over 2 years ago

Semkov Gorodok blog

Image
0

230

mantiby/semkov repository overview

Semkov Gorodok blog

CircleCI Docker

About

Code style: black Code style: black License

Author: Alexander Chaika [email protected]

Source link: https://bitbucket.org/manti_by/semkov/

Requirements: Docker, Python 3.5+, SQLite

Setup development environment

  1. Install python pip

     $ sudo apt install python-pip sqlite3
    
  2. Install, create and activate virtualenv

     $ sudo pip install virtualenv  
     $ virtualenv -p python3 --no-site-packages --prompt=smk- venv  
     $ source venv/bin/activate  
    
  3. Clone sources and install pip packages

     $ mkdir semkov/ && cd semkov/  
     $ git clone https://bitbucket.org/manti_by/semkov.git src && cd src/  
     $ pip install -r deploy/requirements/dev.txt  
    
  4. Run local dev server or prod server

     $ make local  
    

NOTICE: Before pushing your changes, run next commands

$ make check
$ make ci

Run in production

To run app in production mode, clone repo, run docker and collect static

$ git clone https://[email protected]/manti_by/semkov.git
$ cd semkov/ && make prod
$ make static

Tag summary

Content type

Image

Digest

sha256:5e6611582

Size

113.1 MB

Last updated

over 2 years ago

docker pull mantiby/semkov