This repository has been archived by the owner on Apr 30, 2023. It is now read-only.
Project set up help #217
Replies: 2 comments 3 replies
-
^ Also, next js isn't supported on my mac due to my node version, I do plan to install node again and try installing next js, but is there version for react js since react works for me, or is that no longer available? Thanks |
Beta Was this translation helpful? Give feedback.
2 replies
-
Your ormconfig.ts file should look something like this // Copy this file into "ormconfig.ts" in this same directory
// You can change the TypeORM connection options here
import { ConnectionOptions } from 'typeorm';
import { joinRoot } from '@utils/common/rootPath';
/// SQLite (simple flat file storage intended for development instances)
export const ormconfig: ConnectionOptions = {
type: 'sqlite',
/* Be sure to change this to the location you'd like the sqlite file to be saved. */
database: 'db.sqlite',
entities: [joinRoot('./entities/*.*')],
synchronize: true,
};
export default ormconfig; With SQLite the database name is anything you want, it will just make a new file. With PostgreSQL, it requires a little but more setup |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I read over the instructions on the wikie API and Web link. However, I am facing issues for the API set up, for step 3 the ormconfig.ts file what would be the database name? And in addition, could someone please walk me through the steps to set up the API, as I tried following the outline exactly like. creating the .env files with github tokens and installing required packages and redis but facing lots of build issues. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions