Skip to content

Commit

Permalink
add How to install section
Browse files Browse the repository at this point in the history
  • Loading branch information
mavenium committed Feb 1, 2021
1 parent 2a128a7 commit 91e77b3
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,20 @@ A free, open-source Blog CMS based on the "Django" and "Hyperspace" HTML5 theme.
| ------------- | ------------- | ------------- |
| [![](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") |

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

0 comments on commit 91e77b3

Please sign in to comment.