Skip to content

emergenceland/zupoll

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zupoll

For Developers: Local Development

Environment Variables

In order to develop locally, you will need to set some environment variables. In zupoll-client prroject, we have included an example environment variable file here: apps/zupoll-client/.env.local.example. In order to make the zupoll-client use these environment variables, you will need to copy the contents of the example file into an adjacent file called .env.local. In zupoll-server prroject, we have included an example environment variable file here: apps/zupoll-server/.env.example. In order to make the zupoll-server use these environment variables, you will need to copy the contents of the example file into an adjacent file called .env.

Running the project

Note, this project depends on the Zuzalu Passport project. You have to make sure the passport server and client running first.

In the root of this project, execute the following to start the servers and static sites locally.

# installs dependencies for all apps and packages in this repository
yarn

# set the postgres connection url in the env file (DATABASE_URL)
# this will need to you manually create a database for zupoll.

# prepare local Postgres - you must have Postgres installed for this
# to work properly.
yarn db:generate && yarn db:push

# starts all the applications contained in the `/apps` directory of the
# repository. this includes the zupoll server and client.
yarn dev

# open up the zupoll app in your browser.
open http://localhost:3004

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 99.5%
  • Other 0.5%