Skip to content

Commit 046b593

Browse files
committed
adding documentation container to ccstack via slate, altering front page theme template, adjusting block placement
1 parent a33e191 commit 046b593

12 files changed

+958
-53
lines changed

README.md

+39-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,31 @@ git clone site module, copy contents(modules, themes and .git folder) to a fresh
2020

2121
cd /var/www/yoursite/sites/all && git submodule init && git submodule update
2222

23-
Login to your drupal site as administraitor, visit the admin->modules menu, enable all checkoutcrypto modules except for Hosting(under development), Send payment by email(under development), cgPopup (a ctools example module, created by me for developers to see a working code for a vanilla ctools modal popup). You need to modify the ccAccount module's [API connection](https://github.com/CheckoutCrypto/site/blob/master/modules/CheckoutCrypto/ccAccount/includes/cc-php/cc.inc) (it's done automatically in docker build, not git).
23+
Login to your drupal site as administraitor, visit the admin->modules menu, enable all checkoutcrypto modules except:
24+
25+
####Enable
26+
27+
- Account
28+
- Admin
29+
- Balance
30+
- Coins
31+
- Groups
32+
- OTP
33+
- Wallets
34+
- Trading
35+
- Transactions
36+
- Worker
37+
38+
####Ignore / View and develop
39+
40+
- Hosting(under development),
41+
- Send payment by email(under development),
42+
- cgPopup (a ctools modal example module, created by me for developers)
43+
- Service
44+
45+
#####Modifications for your API URL
46+
47+
You need to modify the ccAccount module's [API connection](https://github.com/CheckoutCrypto/site/blob/master/modules/CheckoutCrypto/ccAccount/includes/cc-php/cc.inc) (it's done automatically in docker build, not git).
2448

2549
```
2650
$base_url = '';
@@ -177,6 +201,20 @@ add rpcallowip=10.0.0.1 or w.e your ip
177201
###Additional notes:
178202
Get all the validation codes, for the ccdev_coins table, by inserting any address [here](http://darkgamex.ch:2751/chain/Anoncoin/q/decode_address/PH4C5dGxdxKCN7Ru71Hn9yyj9SuxMATsh3)
179203

204+
###API Documentation
205+
Can be compiled via the docs module
206+
207+
```
208+
docker run -d -it -p 4567:4567 --name slate slate
209+
```
210+
211+
and can be built with
212+
213+
```
214+
wget https://raw.githubusercontent.com/CheckoutCrypto/site/master/modules/CheckoutCrypto/docs/Dockerfile
215+
docker build -t slate .
216+
```
217+
180218
##License
181219
[Licensed under the Apache License](https://github.com/CheckoutCrypto/site/blob/master/COPYRIGHT) with one small reservation.
182220

fig.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
docs:
2+
image: checkoutcrypto/docs
3+
ports:
4+
- "4567:4567"
15
dartworker:
26
image: checkoutcrypto/worker-dart
37
ports:

modules/CheckoutCrypto/cgTrading/includes/block.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function trading_block_setup(&$blocks, $theme, $code_blocks){
4242
$blocks['cgTrading']['trading']['region'] = 'content';
4343
$blocks['cgTrading']['trading']['weight'] = 2;
4444
$blocks['cgTrading']['trading']['visibility'] = BLOCK_VISIBILITY_LISTED;
45-
$blocks['cgTrading']['trading']['pages'] = '<front>';
45+
$blocks['cgTrading']['trading']['pages'] = 'Trading';
4646
}
4747
if (isset($blocks['cgTrading']['trade_trans'])) {
4848
$blocks['cgTrading']['trade_trans']['status'] = 1;

0 commit comments

Comments
 (0)