Skip to content

Commit

Permalink
Added untracked files
Browse files Browse the repository at this point in the history
  • Loading branch information
nvernooy committed Mar 4, 2015
1 parent 3b7e8ce commit 197fb96
Show file tree
Hide file tree
Showing 22 changed files with 939 additions and 0 deletions.
73 changes: 73 additions & 0 deletions .gitignore
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
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0.0
---

- Initial version
2 changes: 2 additions & 0 deletions MANIFEST.in
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
14 changes: 14 additions & 0 deletions README.txt
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

36 changes: 36 additions & 0 deletions SQLsetup.txt
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
Binary file added client/img/file.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/img/folder-closed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/img/folder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/img/jsfiddle01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/img/jsfiddle02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/img/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 197fb96

Please # to comment.