This file contains hidden or 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
ITEM_BASIS_PRICE_POPULATE_COLUMNS = [ | |
:publisher_id, | |
:imprint_id, | |
:item_id, | |
:data_src_code, | |
:item_expected_discount, | |
:item_preferred_profit, | |
:item_net_price, | |
:item_net_price_cc, | |
:item_basis_price, |
This file contains hidden or 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
app.js?id=826ae638108a25af5178:12384 Uncaught ReferenceError: $ is not defined | |
at Object../src/js/charts/market_charts.js (app.js?id=826ae638108a25af5178:12384) | |
at __webpack_require__ (app.js?id=826ae638108a25af5178:20) | |
at Module../src/js/app.js (app.js?id=826ae638108a25af5178:12252) | |
at __webpack_require__ (app.js?id=826ae638108a25af5178:20) | |
at Object.0 (app.js?id=826ae638108a25af5178:12402) | |
at __webpack_require__ (app.js?id=826ae638108a25af5178:20) | |
at app.js?id=826ae638108a25af5178:84 | |
at app.js?id=826ae638108a25af5178:87 |
This file contains hidden or 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
class Errors::Show < Lucky::ErrorAction | |
def handle_error(error : JSON::ParseException) | |
message = "There was a problem parsing the JSON." + | |
" Please check that it is formed correctly" | |
if json? | |
json Errors::ShowSerializer.new(message), status: 400 | |
else | |
render_error_page status: 500 | |
end |
This file contains hidden or 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
05:51:54 web.1 | GET /redis | |
05:51:54 web.1 | ▸ Handled by Redis::Index | |
05:51:54 web.1 | ▸ Ran protect_from_forgery | |
05:51:54 web.1 | ▸ Ran test_backdoor | |
05:51:54 web.1 | ▸ Stopped by require_sign_in | |
05:51:54 web.1 | ▸ Sent 302 (210.0µs) | |
05:51:54 web.1 | GET /sign_in | |
05:51:54 web.1 | ▸ Handled by SignIns::New | |
05:51:54 web.1 | ▸ Ran protect_from_forgery | |
05:51:54 web.1 | ▸ Ran test_backdoor |
This file contains hidden or 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
.git | |
.dockerignore | |
bin/ | |
lib/ | |
spec/ |
This file contains hidden or 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
FROM crystallang/crystal:0.29.0 as system | |
RUN apt-get update && \ | |
apt-get install -y libnss3 libgconf-2-4 chromium-browser build-essential curl libreadline-dev libevent-dev libssl-dev libxml2-dev libyaml-dev libgmp-dev git golang-go postgresql postgresql-contrib locales && \ | |
# Set up node and yarn | |
curl --silent --location https://deb.nodesource.com/setup_11.x | bash - && \ | |
apt-get install -y nodejs && \ | |
npm install -g yarn && \ | |
# Lucky cli | |
git clone https://github.com/luckyframework/lucky_cli --branch master --depth 1 /usr/local/lucky_cli && \ |
This file contains hidden or 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
version: '3' | |
services: | |
db: | |
container_name: maestro_db | |
image: postgres:11.3 | |
environment: | |
- POSTGRES_DB=maestro | |
- POSTGRES_USER=lucky | |
- POSTGRES_PASSWORD=developer |
This file contains hidden or 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
FROM crystallang/crystal:latest | |
WORKDIR /app | |
COPY shard.* /app/ | |
RUN shards install | |
COPY . /app | |
RUN crystal build src/maestro.cr -o /app/bin/maestro --release | |
RUN rm -rf /app/node_modules |
This file contains hidden or 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
FROM crystallang/crystal:latest | |
WORKDIR /app | |
ADD . /app/ | |
CMD crystal build src/hello.cr -o bin/hello --release |
This file contains hidden or 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
FROM crystallang/crystal:latest | |
WORKDIR /app | |
COPY shard.* /app/ | |
RUN shards install | |
COPY . /app | |
RUN crystal build src/maestro.cr -o ./bin/maestro --release | |
RUN rm -rf /app/node_modules |