Skip to content

PoliticalComputerScience/darp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DARP

Get it running

Make sure you have npm (ideally version 10.x). If you don't have npm installed, I'd recommend installing nvm. Once you have nvm installed, cd to this repository and run

nvm install

to get the right version of node.

To install dependencies, run

npm install

Finally, to run the development server, do

npm start

Building for production

Set up as above, then run

npm run build

which will build the static site in the build directory. Copy this to your server.

If you are running under Apache, you may need to add an .htaccess file that looks like this:

RewriteEngine On
RewriteBase %PUBLIC_URL%
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [QSA,L]

Replace %PUBLIC_URL% with the URL the app is running under (for example, "/darp"). This should match whatever is set in .env.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •