Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
1fb99a8d
Commit
1fb99a8d
authored
May 24, 2015
by
Petrus J.v.Rensburg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename dev requirements file. Add Sphinx & Nose.
parent
ef65fcb9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
12 deletions
+8
-12
.travis.yml
.travis.yml
+1
-1
README.rst
README.rst
+5
-11
requirements-dev.txt
requirements-dev.txt
+2
-0
No files found.
.travis.yml
View file @
1fb99a8d
...
@@ -19,7 +19,7 @@ before_script:
...
@@ -19,7 +19,7 @@ before_script:
install
:
install
:
-
pip install "wtforms<$WTFORMS_VERSION.99"
-
pip install "wtforms<$WTFORMS_VERSION.99"
-
pip install -r
dev-requirements
.txt
-
pip install -r
requirements-dev
.txt
script
:
nosetests flask_admin/tests
script
:
nosetests flask_admin/tests
README.rst
View file @
1fb99a8d
...
@@ -54,13 +54,12 @@ Flask-Admin is extensively documented, you can find all of the documentation at
...
@@ -54,13 +54,12 @@ Flask-Admin is extensively documented, you can find all of the documentation at
The docs are auto-generated from the *.rst* files in the */doc* folder. So if you come across any errors, or
The docs are auto-generated from the *.rst* files in the */doc* folder. So if you come across any errors, or
if you think of anything else that should be included, then please make the changes and submit them as a *pull-request*.
if you think of anything else that should be included, then please make the changes and submit them as a *pull-request*.
To build the docs in your local environment::
To build the docs in your local environment
, from the project directory
::
sudo pip install sphinx
pip install -r requirements-dev.txt
cd flask-admin
sudo make html
sudo make html
Or,
if you want to preview any *.rst* snippets that you may want to contribute, go to `http://rst.ninjs.org/ <http://rst.ninjs.org/>`_.
And
if you want to preview any *.rst* snippets that you may want to contribute, go to `http://rst.ninjs.org/ <http://rst.ninjs.org/>`_.
Installation
Installation
------------
------------
...
@@ -78,14 +77,9 @@ Tests
...
@@ -78,14 +77,9 @@ Tests
-----
-----
Test are run with *nose*. If you are not familiar with this package you can get some more info from `their website <http://nose.readthedocs.org/>`_.
Test are run with *nose*. If you are not familiar with this package you can get some more info from `their website <http://nose.readthedocs.org/>`_.
To run the tests, simply::
To run the tests, from the project directory, simply::
pip install nose
pip install -r dev-requirements.txt
and then::
pip install -r requirements-dev.txt
cd flask-admin
nosetests
nosetests
You should see output similar to::
You should see output similar to::
...
...
dev-requirements
.txt
→
requirements-dev
.txt
View file @
1fb99a8d
...
@@ -10,3 +10,5 @@ flask-babelex
...
@@ -10,3 +10,5 @@ flask-babelex
shapely
shapely
geoalchemy2
geoalchemy2
psycopg2
psycopg2
nose
sphinx
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment