Home of techspace
To contribute check out the Contributor's Guide.
This README would normally document whatever steps are necessary to get the application up and running.
Running techspace-web on your system:
-
Make sure you have Python 3 and pip setup on your computer. https://www.makeuseof.com/tag/install-pip-for-python/
-
Make sure you have virtual environment installed. To check run command
$ pip freeze
To install virtual environment$ pip install virtualenv
-
Clone the repository.
-
cd into project
cd techspace-web
-
Create and activate virtual environment for the project
$ python3 -m virtualenv env $ source env/bin/activate
-
Install requirements
$ pip3 install -r requirements.txt
-
Now run the server:
$ python manage.py runserver
-
Make migrations to the database using the following commands:
$ python manage.py makemigrations $ python manage.py migrate
-
Now open localhost:8000 in browser and the application must be running.
-
Every time to run the project first activate virtual environment and then run the server
$ source env/bin/activate $ python manage.py runserver