Website that will compare language features side by side.
Good question. If there's an aspect of a language you don't know, you can compare a languages you know with a language you do. It's a good way to quickly learn a new language, or use it as a quick reference to remember things by.
- Python 3.x
- Django 3.11
- PostgreSQL 13.x
If you run python --version
and it shows Python 2.x but you know you have
Python 3.x installed, you may need to suffix all python
and pip
commands
with 3
, e.g. pip3
and python3
, or follow the process for making Python
3 your default Python installation.
- Clone the project (
git clone https://github.com/codethesaurus/codethesaur.us.git
) - Switch into to directory
cd codethesaur.us
- Check to see if Python 3.x is installed with
python --version
orpython3 --version
. If Python 3.x isn't installed, visit https://www.python.org/downloads/windows/ or install it withchoco install python
- Install Python's virtual environment venv with the command
pip3 install virtualenv
- To set up new virtual environment, run
virtualenv venv
- To activate virtual environment, run
venv\Scripts\activate.bat
- Run
pip install -r requirements.txt
- Then Run
python manage.py runserver
- In your browser, visit
http://127.0.0.1:8000/
orhttp://localhost:8000/
- Press CTRL+C in the terminal to stop the server
- To deactivate the virtual environment, run
venv\Scripts\deactivate.bat
- Check to see if Python 3.x is installed with
python --version
orpython3 --version
. If Python 3.x isn't installed, install it withbrew install python
- Clone the project (
git clone https://github.com/codethesaurus/codethesaur.us.git
) - Switch into to directory
cd codethesaur.us
- Run
pip3 install virtualenv
- To set up new virtual environment, run
virtualenv --no-site-packages venv
- To activate virtual environment, run
source venv/bin/activate
- Run
pip3 install -r requirements.txt
- Then Run
python3 manage.py runserver
- In your browser, visit
http://127.0.0.1:8000/
orhttp://localhost:8000/
- Press CTRL+C in the terminal to stop the server
- To deactivate the virtual environment, run
deactivate
- If python3 and pip3 are not installed there is a guide for Linux systems
- Check system default
python --version
If the returned text is not python 3.x then usingpython3
will be required for following steps Or if you would like to set python3 as a default simply open your .bashrc file.sudo nano ~/.bashrc
and addalias python='python3'
- Django 3.11 can be installed using the pip3 package manager.
pip3 install django==3.11
- Install PostgreSQL
sudo apt install -y postgresql
- Debian - Install venv for virtual environment
sudo apt install -y python3-venv
- Debian Full python3 and venv setup centOS - Clone the project (
git clone https://github.com/codethesaurus/codethesaur.us.git
) - Switch into to directory
cd codethesaur.us
- Use directory as virtual environment
python3 -m venv codethesaur.us
- Activate the directory
source codethesaur.us/bin/activate
- Run
pip install -r requirements.txt
- Then run
python manage.py runserver
- In your browser, visit http://127.0.0.1:8000/ or http://localhost:8000/
- Press CTRL+C in the terminal to stop the server.
Check out the Contributing Guide to learn more about how you can help add more language data, fix bugs, or add features!
All contributors are required to follow the Code Thesaurus Code of Conduct.
Preferred: Reach out on Twitter @codethesaurus
You could also email the core team (coreteam@codethesaur.us).