31f3950439
* Add a custom rule to prevent colors from being hardcoded in ESLint * Refactor colors * Create packages folder and fix colors * Remove external dependency for css alphabetical order linting * Fix install with yarn --------- Co-authored-by: Charles Bochet <charles@twenty.com>
17 lines
492 B
TypeScript
17 lines
492 B
TypeScript
import prompts, { PromptObject } from 'prompts';
|
|
import open from 'open';
|
|
|
|
export const selfhostQuestions: PromptObject<string>[] = [
|
|
{
|
|
type: 'text',
|
|
name: 'docker',
|
|
message:
|
|
'The options to self-host are documented in the doc. Click enter to open the relevant help page.',
|
|
},
|
|
];
|
|
|
|
export const askSelfhostQuestions: () => Promise<void> = async () => {
|
|
await prompts(selfhostQuestions);
|
|
await open('https://docs.twenty.com/dev-docs/getting-started/self-hosting');
|
|
};
|