|
|
@ -23,7 +23,7 @@ process.env[`DEBUG`] = 'xc*'; |
|
|
|
(async () => { |
|
|
|
(async () => { |
|
|
|
await nocobuild(server); |
|
|
|
await nocobuild(server); |
|
|
|
const httpServer = server.listen(process.env.PORT || 8080, async () => { |
|
|
|
const httpServer = server.listen(process.env.PORT || 8080, async () => { |
|
|
|
await new Promise((resolve) => setTimeout(resolve, 2000) |
|
|
|
await new Promise((resolve) => setTimeout(resolve, 1000)); |
|
|
|
if (!(await User.getByEmail('user@nocodb.com'))) { |
|
|
|
if (!(await User.getByEmail('user@nocodb.com'))) { |
|
|
|
const response = await axios.post( |
|
|
|
const response = await axios.post( |
|
|
|
`http://localhost:${process.env.PORT || 8080}/api/v1/auth/user/signup`, |
|
|
|
`http://localhost:${process.env.PORT || 8080}/api/v1/auth/user/signup`, |
|
|
|