Skip to content

nurbek-b/ashar_proj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ashar Translation Platform

Crowdsourcing platform for translation from any language to Kyrgyz

To run this project:

  • Clone this repository
git clone [email protected]:jumasheff/ashar-translation-platform.git
  • Activate virtual environment:
pip install pipenv
pipenv --python 3
pipenv shell
pipenv install
  • Create private .env file inside of project directory. Copy all data from .env_example and paste inside of .env file. Note: Change the values of secrets to yours.

  • This project uses Postgresql, so, create Postgresql database:

sudo apt-get update
sudo apt-get install python3-pip python3-dev libpq-dev postgres postgres-contrib
sudo su - postgres
  • Enter postgres console:
psql
CREATE DATABASE ashar;
CREATE USER ashar_user WITH PASSWORD 'your_super_secret_password';
ALTER ROLE ashar_user SET client_encoding TO 'utf8';
ALTER ROLE ashar_user SET default_transaction_isolation TO 'read committed';
ALTER ROLE ashar_user SET timezone TO 'UTC';
GRANT ALL PRIVILEGES ON DATABASE ashar TO 'ashar_user';
  • Finally, run project with command: python3 manage.py runserver
  • PROFIT!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published