Skip to content

A CLI that automates the setup of Travela's project

Notifications You must be signed in to change notification settings

ekpangmichael/travela_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a CLI tool that automates the setup of Travela's project

Installation

The recommended way to install this package is to do a global install

Install as global package

$ sudo npm install -g travela_cli

Usage

The following flags are available for running different commands

$ -f or --frontend to setup the frontend
$ -b or --backend to setup the backend
$ -h or --help to access the help menu

Example

$ travela <flag> <pathtoenvfile> 

Setup Frontend

The example below assumes that the env file is in the same folder where you are running the command, otherwise specify the full path to your env file

$ travela -f ./.env 

Setup Backend

To setup the backend, make sure you have created your database and updated your env file with the database credentials

$ travela -b ./.env  

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

License

This project is licensed under MIT

About

A CLI that automates the setup of Travela's project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages