Skip to content

Commit 3a7b284

Browse files
committed
Basic server
1 parent b5eec81 commit 3a7b284

17 files changed

+752
-4
lines changed

.circleci/config.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/profbit
5+
docker:
6+
- image: python:3.6.1
7+
steps:
8+
- checkout
9+
- run: make installdeps
10+
- run: pipenv run make lint
11+
# TODO(joshblum): Tests

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ celerybeat-schedule
8080
*.sage.py
8181

8282
# dotenv
83-
.env
83+
*.env
8484

8585
# virtualenv
8686
.venv

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 prof-bit
3+
Copyright (c) 2017 Joshua Blum
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
SRC_DIR=profbit
2+
3+
clean:
4+
find . -name '*.pyo' -delete
5+
find . -name '*.pyc' -delete
6+
find . -name __pycache__ -delete
7+
find . -name '*~' -delete
8+
9+
installdeps:
10+
pip install pipenv
11+
pipenv install --dev
12+
13+
lint:
14+
flake8 $(SRC_DIR) && isort --check-only --recursive $(SRC_DIR)

Pipfile

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[[source]]
2+
3+
url = "https://pypi.python.org/simple"
4+
verify_ssl = true
5+
name = "pypi"
6+
7+
8+
[dev-packages]
9+
10+
ipython = "*"
11+
"flake8" = "*"
12+
isort = "*"
13+
14+
15+
[packages]
16+
17+
coinbase = "*"
18+
flask = "*"
19+
social-auth-app-flask-peewee = "*"
20+
flask-login = "*"
21+
gunicorn = "*"
22+
"psycopg2" = "*"
23+
werkzeug = "*"

0 commit comments

Comments
 (0)