Solve Chinese characters like riddles.
jiezi/
django main appaccounts/
app manages theUser
model and its basic information.content/
app manages the data created by our content teamlearning
app implements our learning algorithmstatic/
&templates/
for django front endfrontend/
for React
We have conda environments for both Mac and Ubuntu, Windows should also work but you would have to install the environment by yourself
- clone this repo
git clone [email protected]:solved-chinese/app.git
- Create a conda environment using the
env.yaml/env-mac.yaml
file in project root and activate it:
conda env create -f env.yaml # use env-mac.yaml if on mac
conda activate jiezi
- Setup PostgresSQL:
install PostgresSQL https://www.postgresql.org/download/linux/ubuntu/
setup the database to match
jiezi.settings.DATABASES
:
sudo -u postgres psql
postgre# \password postgres (use this to change the password of postgres to 'jiezi')
- Make the required migrations
python manage.py migrate
- Locally run the development server
python manage.py runserver