Skip to content

Commit

Permalink
update setup
Browse files Browse the repository at this point in the history
  • Loading branch information
diced committed Nov 7, 2020
1 parent 41565b3 commit f5ab288
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
3 changes: 1 addition & 2 deletions release.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
module.exports = async (markdown, metaData) => {
console.log(metaData);
module.exports = async (markdown) => {
return markdown;
};
18 changes: 8 additions & 10 deletions setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,35 +48,33 @@ const base = {
{ name: 'mysql' },
{ name: 'mariadb' },
{ name: 'mssql' },
{ name: 'sqlite' },
{ name: 'sqlite3' },
{ name: 'mongodb', extra: 'No support yet' }
{ name: 'sqlite3' }
]
},
{
type: 'input',
name: 'host',
message: 'Database Host'
message: 'Database Host (leave blank if sqlite3)'
},
{
type: 'number',
name: 'port',
message: 'Database Port'
message: 'Database Port (leave blank if sqlite3)'
},
{
type: 'input',
name: 'database',
message: 'Database Name'
message: 'Database Name (db path if sqlite3)'
},
{
type: 'input',
name: 'username',
message: 'Database User'
message: 'Database User (leave blank if sqlite3)'
},
{
type: 'password',
name: 'password',
message: 'Database Password'
message: 'Database Password (leave blank if sqlite3)'
}
]);

Expand Down Expand Up @@ -106,7 +104,7 @@ const base = {
{
type: 'confirm',
name: 'original',
message: 'Keep Original?'
message: 'Keep Original File names?'
}
]);

Expand Down Expand Up @@ -138,7 +136,7 @@ const base = {
urls: { ...base.urls, ...urls }
};

writeFileSync('Zipline.toml', stringify(config));
writeFileSync('Ziplined.toml', stringify(config));

if (docker.useDocker) {
console.log('Generating docker-compose.yml...');
Expand Down

0 comments on commit f5ab288

Please sign in to comment.