tutor config render --extra-config ./indigo/config.yml ./indigo/theme "$(tutor config printroot)/env/build/openedx/themes/indigo"
tutor images build openedx
ubuntu@ip-172-31-32-251:/var/www/crawler$ npm install | |
npm ERR! code EACCES | |
npm ERR! syscall mkdir | |
npm ERR! path /var/www/crawler/node_modules | |
npm ERR! errno -13 | |
npm ERR! Error: EACCES: permission denied, mkdir '/var/www/crawler/node_modules' | |
npm ERR! [Error: EACCES: permission denied, mkdir '/var/www/crawler/node_modules'] { | |
npm ERR! errno: -13, | |
npm ERR! code: 'EACCES', | |
npm ERR! syscall: 'mkdir', |
my full solution was: | |
sudo chown -R $USER /var/www/html | |
sudo chown -R www-data:www-data /var/www/html/storage/framework |
# Run the following to solve the The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied | |
sudo chown -R $USER:www-data storage | |
sudo chown -R $USER:www-data bootstrap/cache | |
chmod -R 775 storage | |
chmod -R 775 bootstrap/cache |
Java 4 hrs 15 mins █████████████████▌░░░ 83.9% | |
PHP 37 mins ██▌░░░░░░░░░░░░░░░░░░ 12.4% | |
YAML 5 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.7% | |
Bash 4 mins ▎░░░░░░░░░░░░░░░░░░░░ 1.3% | |
.env file 2 mins ▏░░░░░░░░░░░░░░░░░░░░ 0.7% |
upstream preprod-apim-am.wavemoney.io { | |
server localhost:3000; | |
} | |
upstream preprod-apim-gw.wavemoney.io { | |
server localhost:4000; | |
} | |
server { | |
listen 80; | |
server_name preprod-apim-am.wavemoney.io; |
@Value("${oracle-db.datasource.dbSchema}") | |
private String dbSchema; |
integrated-client: | |
agentIdMap: | |
AGENT: X112312 |
import java.util.Map; | |
import org.springframework.boot.context.properties.ConfigurationProperties; | |
import org.springframework.stereotype.Component; | |
@Component | |
@ConfigurationProperties(prefix = "integrated-client") | |
public class AgentIdMapConfig { | |
private Map<String, Long> agentIdMap; |
// Replace the port number with the port you used.The server_name should also be replaced with you domain name. | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
server_name example.com www.example.com ; | |
location / { | |
proxy_pass http://localhost:8080; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; |