-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
939 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# ZODB files | ||
*.fs* | ||
|
||
# Ubuntu temp files | ||
*~ | ||
|
||
# Sublime project files | ||
*.sublime* | ||
|
||
# Ninja files | ||
*.nja | ||
|
||
# Client stuff | ||
node_modules | ||
dist | ||
.tmp | ||
.sass-cache | ||
bower_components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
0.0 | ||
--- | ||
|
||
- Initial version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include *.txt *.ini *.cfg *.rst | ||
recursive-include server *.ico *.png *.css *.gif *.jpg *.pt *.txt *.mak *.mako *.js *.html *.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
server README | ||
================== | ||
|
||
Getting Started | ||
--------------- | ||
|
||
- cd <directory containing this file> | ||
|
||
- $VENV/bin/python setup.py develop | ||
|
||
- $VENV/bin/initialize_server_db development.ini | ||
|
||
- $VENV/bin/pserve development.ini | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Steps for setting up and initialising DB: | ||
1) export VENV=~/projects/optimatesql; virtualenv $VENV | ||
2) $VENV/bin/easy_install pyramid | ||
3) cd optimatesql | ||
4) $VENV/bin/pcreate -s alchemy server | ||
5) cd optimatesql | ||
6) $VENV/bin/python setup.py develop | ||
7) $VENV/bin/initialize_server_db development.ini | ||
8) $VENV/bin/pserve development.ini --reload | ||
|
||
Virtual env: | ||
export VENV=~/projects/optimatesql; virtualenv $VENV | ||
|
||
pyramid server: | ||
$VENV/bin/python setup.py develop | ||
$VENV/bin/pserve development.ini --reload | ||
|
||
angular client: | ||
npm start | ||
address: http://localhost:8000/app/index.html | ||
|
||
server tests: | ||
$VENV/bin/python setup.py test -q | ||
|
||
client tests: | ||
$VENV/bin/nosetests server | ||
|
||
git: | ||
git commit -am ""; git push origin master | ||
|
||
projectid: | ||
6b3df58c9c9811e49239000c29a3e37c | ||
|
||
complete startup | ||
export VENV=~/projects/env33/; virtualenv $VENV; cd projects/optimate; $VENV/bin/pserve development.ini --reload | ||
export VENV=~/projects/env33/; virtualenv $VENV; cd projects/optimatesql; $VENV/bin/pserve development.ini --reload |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.