Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Put the installation documentation in docs.

  • Loading branch information...
commit eca0b610fe5d7ce31a223e03c0cb5a7fdefeb8da 1 parent 8cfa281
@ametaireau ametaireau authored
Showing with 28 additions and 71 deletions.
  1. +0 −50 README.md
  2. +25 −1 docs/index.rst
  3. +3 −20 settings/local.py-dist
View
50 README.md
@@ -6,56 +6,6 @@ awesome, and open sourcy as always. Perhaps even a little more.
Stay tuned.
-Install
--------
-
-To install bedrock, fire a commandline and type the following:
-
- $ virtualenv venv
- $ source venv/bin/activate
- $ pip install -r requirements/dev.txt
-
-Once you've done that, you'll need to configure the application to run
-locally. Create a `settings/local.py` file, containing the following:
-
- # This is an example settings_local.py file.
- # Copy it and add your local settings here.
-
- from settings import *
-
-
- DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': 'db.sql',
- },
- }
-
- CACHES = {
- 'default': {
- 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
- 'LOCATION': 'translations'
- }
- }
-
- DEBUG = TEMPLATE_DEBUG = True
- LESS_PREPROCESS = True
-
-You will need to have a less compiler. You can get one on debian/ubuntu by
-installing the "libjs-less" package.
-
-Make it run
------------
-
-To make the server run, make sure you are inside a virtualenv, and then
-run the server with your local settings:
-
- python manage.py runserver --settings settings.local
-
-If you are not inside a virtualenv, you can activate it by doing
-
- source venv/bin/activate
-
Docs
----
View
26 docs/index.rst
@@ -41,7 +41,31 @@ works like django.::
cp settings/local.py-dist settings/local.py
./manage.py runserver
-This section will be expounded soon.
+To install bedrock, fire a commandline and type the following::
+
+ $ virtualenv venv
+ $ source venv/bin/activate
+ $ pip install -r requirements/dev.txt
+
+Once you've done that, you'll need to configure the application to run
+locally. Copy the `local.py-dist` file to `settings/local.py` file::
+
+ $ cp settings/local.py-dist settings/local.py
+
+You will need to have a less compiler. You can get one on debian/ubuntu by
+installing the "libjs-less" package.
+
+Make it run
+-----------
+
+To make the server run, make sure you are inside a virtualenv, and then
+run the server with your local settings::
+
+ $ python manage.py runserver --settings settings.local
+
+If you are not inside a virtualenv, you can activate it by doing::
+
+ $ source venv/bin/activate
PHP
---
View
23 settings/local.py-dist
@@ -6,19 +6,8 @@ from settings import *
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.mysql',
- 'NAME': '',
- 'USER': '',
- 'PASSWORD': '',
- 'HOST': '',
- 'PORT': '',
- 'OPTIONS': {
- 'init_command': 'SET storage_engine=InnoDB',
- 'charset' : 'utf8',
- 'use_unicode' : True,
- },
- 'TEST_CHARSET': 'utf8',
- 'TEST_COLLATION': 'utf8_general_ci',
+ 'ENGINE': 'django.db.backends.sqlite3',
+ 'NAME': 'db.sql',
},
}
@@ -29,11 +18,5 @@ CACHES = {
}
}
-ADMINS = (
- # ('Your Name', 'your_email@domain.com'),
-)
-
-MANAGERS = ADMINS
-
-
DEBUG = TEMPLATE_DEBUG = True
+LESS_PREPROCESS = True
Please sign in to comment.
Something went wrong with that request. Please try again.