Skip to content
Snippets Groups Projects
Commit 63c4f87b authored by Bogdan Cochior's avatar Bogdan Cochior
Browse files

ci(production):setup for production

:wq
parent aa5b4d25
No related branches found
No related tags found
1 merge request!21Sprint #16 features
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<!--
Build time: <%= htmlWebpackPlugin.options.buildTime %>
-->
<meta charset=utf-8> <meta charset=utf-8>
<title><%= htmlWebpackPlugin.options.title %></title> <title>
<%= htmlWebpackPlugin.options.title %>
</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
</body> </body>
</html>
</html>
\ No newline at end of file
...@@ -46,7 +46,7 @@ module.exports = { ...@@ -46,7 +46,7 @@ module.exports = {
API_ENDPOINT: '/api', API_ENDPOINT: '/api',
baseUrl: process.env.CLIENT_BASE_URL || 'http://localhost:3000', baseUrl: process.env.CLIENT_BASE_URL || 'http://localhost:3000',
'login-redirect': '/', 'login-redirect': '/',
'redux-log': true, 'redux-log': process.env.NODE_ENV === 'development',
theme: process.env.PUBSWEET_THEME, theme: process.env.PUBSWEET_THEME,
}, },
orcid: { orcid: {
...@@ -114,13 +114,7 @@ module.exports = { ...@@ -114,13 +114,7 @@ module.exports = {
path: `${__dirname}/mailer`, path: `${__dirname}/mailer`,
editorialAssistant: 'hindawi@thinslices.com', editorialAssistant: 'hindawi@thinslices.com',
}, },
publicKeys: [ publicKeys: ['pubsweet-client', 'authsome', 'validations'],
'pubsweet-client',
'authsome',
'validations',
'pubsweet-component-aws-s3',
'pubsweet-component-aws-ses',
],
statuses: { statuses: {
draft: { draft: {
importance: 1, importance: 1,
......
...@@ -36,7 +36,8 @@ module.exports = [ ...@@ -36,7 +36,8 @@ module.exports = [
root: path.join(__dirname, '..', '_build'), root: path.join(__dirname, '..', '_build'),
}), }),
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
title: 'xpub', title: 'Faraday',
buildTime: new Date().toString(),
template: '../app/index-production.html', template: '../app/index-production.html',
inject: 'body', inject: 'body',
}), }),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment