https://github.com/smashedr/testing
https://github.com/smashedr/testing
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/smashedr/testing
- Owner: smashedr
- Created: 2016-12-18T05:13:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-28T03:48:12.000Z (over 9 years ago)
- Last Synced: 2025-01-07T22:17:00.884Z (over 1 year ago)
- Language: Python
- Size: 948 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django Bootstrap
[](https://git.cssnr.com/shane/django_bootstrap/commits/master) [](https://git.cssnr.com/shane/django_bootstrap/commits/master)
A Django Bootstrap Template Including:
### User Interface
Static files include:
- Bootstrap (3.3.7)
- http://getbootstrap.com/
- JQuery (3.1.1)
- https://jquery.com/
- Font Awesome (4.7)
- http://fontawesome.io/
### Django
Default setup uses these modules:
- Logging
- https://docs.python.org/3/library/logging.html
- https://docs.djangoproject.com/en/1.10/topics/logging
- ConfigParser
- https://docs.python.org/3/library/configparser.html
### Python 2
Notes for running under Python 2:
- Add `configparser` to the `requirements.txt`.
- Or run `pip install configparser` manually.
- Use `virtualenv` instead of `venv`.
## Copying This Project
To clone a clean copy of this project int your repository:
1. `cd` into development directory
2. `git clone https://git.cssnr.com/shane/django_bootstrap.git .`
3. `rm -rf .git`
4. `git init`
5. `git remote add origin https://github.com/your-name/your-repo.git`
6. `git push -u origin master`
## Deployment
To deploy this project on the development server:
1. `cd` into deploy directory
2. `git clone https://git.cssnr.com/shane/django_bootstrap.git .`
3. `pyvenv venv`
4. `source venv/bin/activate`
5. `pip install -r requirements.txt`
6. `cp settings.ini.example settings.ini`
7. Edit the settings to your preference.
8. `python manage.py runserver 0.0.0.0:8000`