Skip to content

Commit 91e77b3

Browse files
committed
add How to install section
1 parent 2a128a7 commit 91e77b3

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,20 @@ A free, open-source Blog CMS based on the "Django" and "Hyperspace" HTML5 theme.
2525
| ------------- | ------------- | ------------- |
2626
| [![](https://s17.picofile.com/file/8418101118/python.png)](https://www.python.org "Python") | [![](https://s17.picofile.com/file/8418100976/django.png)](https://www.djangoproject.com "Django") | [![](https://s17.picofile.com/file/8418101034/pycharm.png)](https://www.jetbrains.com/pycharm/ "Pycharm") |
2727

28-
------------
28+
------------
29+
### How to install and run (GNU/Linux and Mac)
30+
31+
1. Install `git`,`python3`, `pip3`, `virtualenv` in your operating system
32+
2. Create a development environment ready by using these commands
33+
```
34+
git clone https://github.com/mavenium/PyHyperspace # clone the project
35+
cd PyHyperspace # go to the project DIR
36+
virtualenv -p python3 .venv # Create virtualenv named .venv
37+
source .venv/bin/activate # Active virtualenv named .venv
38+
pip install -r requirements.txt # Install project requirements in .venv
39+
python manage.py makemigrations # Create migrations files
40+
python manage.py migrate # Create database tables
41+
python manage.py collectstatic # Create statics files
42+
python manage.py runserver # Run the project
43+
```
44+
3. Go to `http://127.0.0.1:8000/` to use project

0 commit comments

Comments
 (0)