danilorenatosilva / editdojo

An app/website for improving your writing skills in any language.

Home Page:https://www.csdojo.io/edit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edit Dojo

A web app to improve writing skills in any language.

Inspiration

The inspiration for this came from the lack of these kind of resources. You can find a ton of resources to master reading, listening or speaking a language. But when it comes to writing, there simply aren't much.

How it works

The app will function in these steps:

  1. A user A will sign up with 2 languages, one in which they are proficient(say, English) and the other which they want to learn(say, Japanese).
  2. Then they will write anything they need in, say, Japanese.
  3. A user B, who is proficient in Japanese, will then verify and propose corrections.
  4. Similarly if someone wants to learn English, user A can verify their messages.
  5. Everyone is happy.

Initially the app will be based on twitter, that is, users will be editing tweets. Eventually, you will able to use this app without using Twitter at all!

Pre-requisites

We would need following installed in our system before we start with setting up the project in local machine.

  1. Git - This is needed as a version control system. If you don't have this preinstalled in local machine, visit https://git-scm.com/downloads and setup git on local.
  2. Python 3 - We are using Python as a programming language in this project. Mac and Ubuntu have it pre-installed. NOTE: you might have Python 2 on your Mac or Ubuntu. If so, make sure to download Python 3.

Local Setup

  1. Using pip3, the package manager for python, install pipenv using the command below in the terminal.
pip3 install pipenv
  1. Clone this repository into local system and change the directory.
git clone https://github.com/ykdojo/editdojo.git
cd editdojo/
  1. Install pip3 - the package manager for python, using the command below in the terminal.
pip3 install pipenv
  1. Go into the virtual environment:
pipenv shell
  1. Install Django version 2.1 in the virtual environment with the following command.
pipenv install django==2.1
  1. Apply migrations
python manage.py makemigrations
python manage.py migrate
  1. Run the server:
python manage.py runserver <PORT>
OR
python manage.py runserver
  1. Start the application opening the link shown in your terminal on a browser.

  2. Set up django-allauth.

  • First, register for a Twitter developer account.
  • Then, run python manage.py createsuperuser to create an admin account.
  • Go to http://127.0.0.1:8000/admin, and change the default site to from example.com to 127.0.0.1. Then, register your Twitter app's info there.
  • More about this process here and here.

Resources

This is a part of the series of YouTube videos demonstrating how to build a real startup using Python and Javascript. Useful resources for this project:

Created by

The project was started by: YK Sugi. He's the guy who's running CS Dojo, a programming education YouTube channel.

If you have any questions related to this project, please contact him on our Slack group.

Contributors

See: CONTRIBUTORS

About

An app/website for improving your writing skills in any language.

https://www.csdojo.io/edit

License:MIT License


Languages

Language:CSS 87.4%Language:JavaScript 8.1%Language:Python 2.9%Language:HTML 1.6%