An open source Q&A website for CS learners
Welcome to CSQA! It's an open-source Q&A website for coders of all levels.
It's for asking any coding-related questions! Whether they are about any specific language, setting up your dev environment, or anything else, please feel free to use this website for it.
I wanted to make a website where coders (mostly beginners-intermediate learners) can ask each other any coding-related questions.
Also, it's part of my new video series where I do some development and make a video about it every week.
I used Python (Django) for backend, Postgres for database, Bootstrap for frontend, Heroku for deployment, and Namecheap for domain registration. I'm planning to add either Vue.js or React on top of it.
If you're completely new to Django, I also recommend checking out my previous video series on Django.
pip3 install pipenv pipenv install pipenv shell
This command worked for me:
env LDFLAGS="-I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib" pipenv install psycopg2
If you want to start running this server with sqlite3 right away, skip to Step 4.
Step 2 - 3 are only for setting up Postgres and they are optional.
You can use a commandline interface or something like Postgres.app, which I use.
Whatever you decide to use, you'll need to make sure Postgres is running on your local enviornment.
Create a new Postgres database. I call it csqa, but you can call it anything you want. Make sure you have created a user and set a password on it, too.
For this one, check out .bashprofilesample as an example.
./manage.py migrate # note: make sure you have run pipenv shell before this ./manage.py runserver
Thank you! That would be great. Please feel free to send any pull requests here.
If you have any questions or comments, please let me know on our Discord server here: https://discordapp.com/invite/YhpHpBa