https://github.com/misteio/djio
Another Django CMS
https://github.com/misteio/djio
cms django python
Last synced: 2 months ago
JSON representation
Another Django CMS
- Host: GitHub
- URL: https://github.com/misteio/djio
- Owner: misteio
- Created: 2017-10-17T20:23:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-02-11T21:37:07.000Z (over 6 years ago)
- Last Synced: 2025-02-03T11:48:00.290Z (over 1 year ago)
- Topics: cms, django, python
- Language: JavaScript
- Homepage:
- Size: 19.4 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Djio
===
Getting Started With Docker
---------------
### Requirements:
We use [Docker](https://docs.docker.com/engine/installation/) and [Docker Compose](https://docs.docker.com/compose/install/).
#### Build Image
$ docker-compose build
#### Mount Image
$ docker-compose up
Then you can access to this application with : http://localhost
You can change port and host, by changing Nginx Configuration (config/nginx/djio.conf)
Getting Started Without Docker
---------------
To get up and running, simply do the following:
$ git clone https://github.com/misteio/djio.git
$ cd website
# Install the requirements
$ pip install -r requirements.txt
# Perform database migrations
$ python manage.py makemigrations
$ python manage.py migrate
# Collect static files
$ python manage.py collectstatic --noinput
# Create User Admin for BackOffice
$ python manage.py createadmin
# Launch app
$ python manage.py runserver
Then you can access to this application with : http://localhost:8000
**NOTE**: We highly recommend creating a [Virtual Environment](http://docs.python-guide.org/en/latest/dev/virtualenvs/). Python Virtual Environments allow developers to work in isolated sandboxes and to create separation between python packages installed via [pip](https://pypi.python.org/pypi/pip).
Package configuration and what you should know
---------------
#### Javascript Reverse URL
We use [https://github.com/ierror/django-js-reverse](https://github.com/ierror/django-js-reverse).
For generate all your javascript URL for use it in another js file you have to:
```
$ ./manage.py collectstatic_js_reverse
```
So you can use URL from Django like this :
```
Urls['namespace:betterliving-get-house']('house', 12)
```