- docker?
sudo docker compose up --build
- make sure you have node.js, npm, python3, pip, & pipenv installed
- install the python dependencies
$ pipenv shell
$ pipenv install
- run the backend server
$ pipenv run python3 app/main.py
- install the node dependencies
$ cd frontend
$ npm install
- run the frontend server
$ npm start
easiest way to get this up an running is via railway by using this one click deploy button
or via setting it up yourself on railway
- create an empty railway project
- click the "Add a new service" button
- choose the github repo "special-github-automation"
- the initial deployment will fail, that is fine
- this resource will be our server
- navigate to the environment variables tab, paste in all the required variables from the .env file
- Important: also add a PORT environment variable with the value 5000
- navigate to the source section under settings, and change the build directory to "app"
- click the "Deploy" button
- generate a domain for this resource via the networking section (ensure port is 5000)
- click the "Add a new service" button
- choose the github repo "special-github-automation"
- the initial deployment will fail, that is fine
- this resource will be our client
- navigate to the environment variables tab, paste in all the required variables from the .env file
- Important: also add a PORT environment variable with the value 3000
- navigate to the Source section under settings, and change the build directory to "client"
- click the "Deploy" button
- generate a domain for this resource via the networking section (ensure port is 3000)
- you should now have a working instance of this project