mirror of
https://github.com/Troplo/Colubrina.git
synced 2024-11-22 19:27:55 +11:00
Update index.js
This commit is contained in:
parent
d8432f574b
commit
9d2689e291
1 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ async function configureDotEnv() {
|
||||||
async function init() {
|
async function init() {
|
||||||
while (true) {
|
while (true) {
|
||||||
const option = await input.select(`Please select an option`, [
|
const option = await input.select(`Please select an option`, [
|
||||||
"Setup",
|
"First-time setup",
|
||||||
"Create user",
|
"Create user",
|
||||||
"Run migrations",
|
"Run migrations",
|
||||||
"Update/create config file",
|
"Update/create config file",
|
||||||
|
@ -246,7 +246,7 @@ async function init() {
|
||||||
"Exit"
|
"Exit"
|
||||||
])
|
])
|
||||||
|
|
||||||
if (option === "Setup") {
|
if (option === "First-time setup") {
|
||||||
// run yarn install in ../backend
|
// run yarn install in ../backend
|
||||||
console.log("Running yarn install")
|
console.log("Running yarn install")
|
||||||
execSync("cd ../backend && yarn install --frozen-lockfile", () => {
|
execSync("cd ../backend && yarn install --frozen-lockfile", () => {
|
||||||
|
|
Loading…
Reference in a new issue